public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: adelante <adelante@spinn.net>
To: guile-gtk <guile-gtk@sourceware.cygnus.com>
Subject: tips-query and accelerators
Date: Fri, 12 May 2000 20:09:00 -0000	[thread overview]
Message-ID: <391CC5E1.7BB7F3EC@spinn.net> (raw)

good evening list
i'm new to gtk and probably have a couple of easy questions for ya!!
1)concerns gtk-tips-query-new - i have achieved a "...start-query with
the "activate" of the query-item in my menu, but don't know how to get
my pop-up dialog to open (it is in a function called
print-private..."widget-select" takes 6 parameters and i can't seem to
figure out how to call the function from the signal-connect of the menu
item from which i want to read tip_private!!
2)concerns accel_groups. In gtk+ the function gtk_widget_add_accelerator
takes 6 parameters.
no. 5 is accl_mods whose valid options are a GDK call of some type and
no. 6 is the accel_flags whose valid options are a GTK function call.
are these variables bound and how does one call them??

for no. 1 i now have --
(gtk-signal-connect tips-query "widget-selected" (lambda ( )
(print-private tips-query widget tip-text tip-private ev data)))

function looks like
(define (print-private tips-query widget tip-text tip-private ev data)
   (let ((dialog (gtk-dialog-new.....etc


for no.2 i now have - -
(gtk-widget-add-accelerator exit "activate" accel 'Q (gdk-control-mask)
(gtk-accel-visible)

thanks for any help received!!

                 reply	other threads:[~2000-05-12 20:09 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=391CC5E1.7BB7F3EC@spinn.net \
    --to=adelante@spinn.net \
    --cc=guile-gtk@sourceware.cygnus.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).