Re: How to create a popup?
- From: Thomas Bayen <tbayen bayen de>
- To: Gtk-Perl-List <gtk-perl-list gnome org>
- Subject: Re: How to create a popup?
- Date: Sun, 23 Nov 2003 21:49:29 +0100
Ross McFarland schrieb:
i would suspect that maybe your RecordSearch object might should inherit
from Gtk2::Menu (or something like that anyway) without knowing more
about it that's about all i can say. others may have better
opinions/ideas. maybe you should at least take a look at the C code for
GtkMenu and see what it does for pop-ups.
To ibherit form Gtk2::Menu is a very interesting idea to me. I will
think about it and look wether I get my selfmade widget inside it. But I
made it work without using a "popup" window, so it is no more the
biggest preference for me. Thanks anyway!
* I use the "allocation" function to get the coordinates of the widget.
I can not find documentation to this function. I found it only with
indirect mention. If this is a "documentation bug" I want to report it
here...
you're more than welcome to document it, send us a patch. we're in the
process of doc'ing now. we're mainly focused on function/api listings
and doc'ing where things differ from the c api at this point.
It is not documented in the original C doku - not mentioning the
gtk2-perl-Doku-Project.
Thomas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]