Hi.
You're mixing simple, text-only version API of GtkCOmboBoxEntry with
complex one. Since you only need to show text, simple method should do
for you, but unfortunately, you cannot construct that type of combo
box using glade.
When dealing with GtkComboBoxEntry, you need to keep in mind that
Thanks!
On Wed, Nov 24, 2010 at 10:04 AM, Tadej Borovšak tadeb...@gmail.com wrote:
Hi.
You're mixing simple, text-only version API of GtkCOmboBoxEntry with
complex one. Since you only need to show text, simple method should do
for you, but unfortunately, you cannot construct that type of
I'm having a problem with the visibility of some widgets packed into an hbox.
They don't show up, despite having their visible property set to 1.
Complete code (small.pl and small.glade) follows.
small.pl:
#!/usr/bin/env perl
use Gtk2 -init;
use Glib qw/TRUE FALSE/;
use Gtk2::SimpleList;
On Wed, Nov 24, 2010 at 13:35, haratron harat...@gmail.com wrote:
I'm having a problem with the visibility of some widgets packed into an hbox.
Use “show” and “hide”:
http://library.gnome.org/devel/gtk/stable/GtkWidget.html#gtk-widget-show
Marius Feraru altb...@gmail.com writes:
On Wed, Nov 24, 2010 at 13:35, haratron harat...@gmail.com wrote:
They don't show up, despite having their visible property set to 1.
Just by manipulating this property won't get you too far.
Ie. that -visible() one is just the widget flags bits
On 04.11.2008 00:23, Kevin Ryde wrote:
The program below gets a warning
Argument \x{78} isn't numeric in subroutine entry at foo.pl line 19.
I think it's because in get_default_property_value() the call out to
Glib::Param::Unichar::get_default_value() gives back a single-char
string 'x'
haratron harat...@gmail.com writes:
$window-set_border_width(0);
$window-set_position('center_always');
They could be property settings in the builder xml I expect.
$window-signal_connect( destroy = sub {
Gtk2-main_quit;
});
And that too as
signal name=destroy
My apologies for the off topic message, but Kevin's reply made me curious:
2010/11/24 Kevin Ryde use...@zip.com.au:
Ie. that -visible() one is just the widget flags bits getter/setter,
it doesn't do anything. The pod could make that clearer.
“set_visible”
Or plain property visible as in
Marius Feraru altb...@gmail.com writes:
My apologies for the off topic message, but Kevin's reply made me curious:
Weirdness in the bindings is on topic isn't it? :-)
Is „visibile” a special case or is this true for all properties?
All the flags bits ones, but not otherwise I don't think.