public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.com.au>
To: guile-gtk@sources.redhat.com
Subject: idle priority defines
Date: Mon, 11 Aug 2003 00:35:00 -0000	[thread overview]
Message-ID: <87d6fd11jn.fsf@zip.com.au> (raw)

I propose to make GTK_PRIORITY_DEFAULT etc available in variables,

        * gdk-support.c (sgtk_init_gdk_support): Add gdk-priority-events.
        * gtk-support.c (sgtk_init_gtk_support): Add gtk-priority-redraw
        gtk-priority-resize, gtk-priority-high, gtk-priority-internal,
        gtk-priority-default, gtk-priority-low.

and use it for,

        * gtk-1.2/gtk.scm (gtk-idle-add): Correction, use gtk-priority-default
        as per C function, not 0.

I guess GTK_PRIORITY_DEFAULT etc are deprecated in favour of
G_PRIORITY stuff, but I think they may as well exist while they're
present at the gtk level, since we don't have an actual glib module.


  scm_c_define ("gtk-priority-default",  scm_int2num (GTK_PRIORITY_DEFAULT));
  scm_c_define ("gtk-priority-high",     scm_int2num (GTK_PRIORITY_HIGH));
  scm_c_define ("gtk-priority-internal", scm_int2num (GTK_PRIORITY_INTERNAL));
  scm_c_define ("gtk-priority-low",      scm_int2num (GTK_PRIORITY_LOW));
  scm_c_define ("gtk-priority-redraw",   scm_int2num (GTK_PRIORITY_REDRAW));
  scm_c_define ("gtk-priority-resize",   scm_int2num (GTK_PRIORITY_RESIZE));

                 reply	other threads:[~2003-08-11  0:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d6fd11jn.fsf@zip.com.au \
    --to=user42@zip.com.au \
    --cc=guile-gtk@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).