From: Marius Vollmer <mvo@zagadka.ping.de>
To: tb@becket.net (Thomas Bushnell, BSG)
Cc: guile-gtk@sourceware.cygnus.com
Subject: Re: where is gtk-window-set-modal?
Date: Sat, 04 Nov 2000 11:39:00 -0000 [thread overview]
Message-ID: <87vgu38rc2.fsf@zagadka.ping.de> (raw)
In-Reply-To: <87g0l88ogz.fsf@becket.becket.net>
tb@becket.net (Thomas Bushnell, BSG) writes:
> Where is gtk-window-set-modal? How can I turn that on
gtk-window-set-modal is right there, along with the other functions.
You would use it like this:
(use-modules (gtk gtk))
(define (annoy)
(let ((d (gtk-window-new 'dialog))
(b (gtk-button-new-with-label "click me")))
(gtk-signal-connect b "clicked" (lambda () (gtk-object-destroy d)))
(gtk-container-add d b)
(gtk-window-set-modal d #t)
(gtk-widget-show-all d)))
(let ((w (gtk-window-new 'dialog))
(b (gtk-button-new-with-label "annoy me")))
(gtk-signal-connect b "clicked" annoy)
(gtk-container-add w b)
(gtk-widget-show-all w)
(gtk-standalone-main w))
prev parent reply other threads:[~2000-11-04 11:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-03 18:23 Thomas Bushnell, BSG
2000-11-04 11:39 ` Marius Vollmer [this message]
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=87vgu38rc2.fsf@zagadka.ping.de \
--to=mvo@zagadka.ping.de \
--cc=guile-gtk@sourceware.cygnus.com \
--cc=tb@becket.net \
/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).