Re: [gtk-list] Creating a widget hierarchy



On 16 Jan 1999, Sascha Ziemann wrote:

> Hi,
> 
> I spend some time on writing a program, that creates a widget
> hierarchy from the gtk.defs file.  Here it is:
> 
[...]

> 
> This is the output for the gtk.defs of the current guile-gtk:
> 
> +-+-GtkObject
>   +-+-GtkWidget
>   | +-+-GtkContainer
>   | | +---GtkFixed
[...]

FYI, the GLE module in GNOME CVS contains a tool gtkquery that will
output certain dumps of the widget tree and/or widget related signals
as well, featuring indentation and root specifications, e.g.

bash</usr/src/gle>$ tools/gtkquery tree -r GtkButton
 GtkButton
  |
  +GtkToggleButton
  | |
  | `GtkCheckButton
  |   |
  |   `GtkRadioButton
  |
  `GtkOptionMenu
bash</usr/src/gle>$

---
ciaoTJ



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