Re: window border



Chas Owens said:
Quoting Nori Heikkinen <nori+gtk-perl maenad net>:
in the tutorial i've been working off of[1], Window has a method
border_width that i'd love to be able to use.  it doesn't appear in
Gtk2, afaict, and it's not in the manpage.

is this implemented somwhere, and if not, how do people usually get
around it?  extra boxes and windows within windows?  seems cumbersome
...

thanks,

border_width is not directly implemented by Gtk2::Window since it is a part of
Gtk2::Container (which Gtk2::Window inherits from).  I just checked the webcvs
(which is admitably old) and this method and the two other data member
functions
for container are not implemented.  You can use set_border_width and
get_border_width.

the method border_width was replaced in gtk2 with set_border_width and is now
deprecated. the official word:
http://developer.gnome.org/doc/API/2.0/gtk/GtkContainer.html#gtk-container-border-width

and therefore isn't impelemented. the only execptions made in such cases where
when nothing replaced the deprecated functionality (why gtk2 deprecated such
things i do not know)


-rm



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]