public inbox for
 help / color / mirror / Atom feed
* tips-query and accelerators
@ 2000-05-12 20:09 adelante
  0 siblings, 0 replies; only message in thread
From: adelante @ 2000-05-12 20:09 UTC (permalink / raw)
  To: guile-gtk

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)

thanks for any help received!!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-12 20:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-12 20:09 tips-query and accelerators adelante

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).