forked from AuroraMiddleware/gtk
widget hierarchy update from Tim Janik
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org> * docs/gtkfaq.sgml: widget hierarchy update from Tim Janik
This commit is contained in:
parent
c6a2248e98
commit
f5c00ed917
@ -1,3 +1,7 @@
|
|||||||
|
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org>
|
||||||
|
|
||||||
|
* docs/gtkfaq.sgml: widget hierarchy update from Tim Janik
|
||||||
|
|
||||||
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
|
* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org>
|
||||||
|
|
||||||
|
* docs/gtkfaq.sgml: widget hierarchy update from Tim Janik
|
||||||
|
|
||||||
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
|
* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org>
|
||||||
|
|
||||||
|
* docs/gtkfaq.sgml: widget hierarchy update from Tim Janik
|
||||||
|
|
||||||
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
|
* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org>
|
||||||
|
|
||||||
|
* docs/gtkfaq.sgml: widget hierarchy update from Tim Janik
|
||||||
|
|
||||||
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
|
* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org>
|
||||||
|
|
||||||
|
* docs/gtkfaq.sgml: widget hierarchy update from Tim Janik
|
||||||
|
|
||||||
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
|
* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org>
|
||||||
|
|
||||||
|
* docs/gtkfaq.sgml: widget hierarchy update from Tim Janik
|
||||||
|
|
||||||
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
|
* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org>
|
||||||
|
|
||||||
|
* docs/gtkfaq.sgml: widget hierarchy update from Tim Janik
|
||||||
|
|
||||||
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
|
* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
|
||||||
|
@ -389,78 +389,86 @@ give you a good grounding on what the widgets can do.
|
|||||||
<p>
|
<p>
|
||||||
The GTK+ Tutorial lists the following widgets:
|
The GTK+ Tutorial lists the following widgets:
|
||||||
<verb>
|
<verb>
|
||||||
GtkObject
|
GtkObject
|
||||||
+-- GtkData
|
+GtkData
|
||||||
| \-- GtkAdjustment
|
| +GtkAdjustment
|
||||||
|
|
| `GtkTooltips
|
||||||
\-- GtkWidget
|
`GtkWidget
|
||||||
+-- GtkContainer
|
+GtkContainer
|
||||||
| +-- GtkBin
|
| +GtkBin
|
||||||
| | +-- GtkAlignment
|
| | +GtkAlignment
|
||||||
| | +-- GtkFrame
|
| | +GtkEventBox
|
||||||
| | | *-- GtkAspectFrame
|
| | +GtkFrame
|
||||||
| | |
|
| | | `GtkAspectFrame
|
||||||
| | +-- GtkItem
|
| | +GtkHandleBox
|
||||||
| | | +-- GtkListItem
|
| | +GtkItem
|
||||||
| | | +-- GtkMenuItem
|
| | | +GtkListItem
|
||||||
| | | | +-- GtkCheckMenuItem
|
| | | +GtkMenuItem
|
||||||
| | | | *-- GtkRadioMenuItem
|
| | | | `GtkCheckMenuItem
|
||||||
| | | |
|
| | | | `GtkRadioMenuItem
|
||||||
| | | *-- GtkTreeItem
|
| | | `GtkTreeItem
|
||||||
| | |
|
| | +GtkViewport
|
||||||
| | +-- GtkViewport
|
| | `GtkWindow
|
||||||
| | \-- GtkWindow
|
| | +GtkColorSelectionDialog
|
||||||
| | +-- GtkDialog
|
| | +GtkDialog
|
||||||
| | \-- GtkFileSelection
|
| | | `GtkInputDialog
|
||||||
| |
|
| | `GtkFileSelection
|
||||||
| +-- GtkBox
|
| +GtkBox
|
||||||
| | +-- GtkHBox
|
| | +GtkButtonBox
|
||||||
| | \-- GtkVBox
|
| | | +GtkHButtonBox
|
||||||
| | +-- GtkColorSelection
|
| | | `GtkVButtonBox
|
||||||
| | \-- GtkCurve
|
| | +GtkHBox
|
||||||
| |
|
| | | +GtkCombo
|
||||||
| +-- GtkButton
|
| | | `GtkStatusbar
|
||||||
| | +-- GtkOptionMenu
|
| | `GtkVBox
|
||||||
| | \-- GtkToggleButton
|
| | +GtkColorSelection
|
||||||
| | \-- GtkCheckButton
|
| | `GtkGammaCurve
|
||||||
| | \-- GtkRadioButton
|
| +GtkButton
|
||||||
| |
|
| | +GtkOptionMenu
|
||||||
| +-- GtkList
|
| | `GtkToggleButton
|
||||||
| +-- GtkMenuShell
|
| | `GtkCheckButton
|
||||||
| | +-- GtkMenu
|
| | `GtkRadioButton
|
||||||
| | \-- GtkMenuBar
|
| +GtkCList
|
||||||
| |
|
| +GtkFixed
|
||||||
| +-- GtkNotebook
|
| +GtkList
|
||||||
| +-- GtkScrolledWindow
|
| +GtkMenuShell
|
||||||
| +-- GtkTable
|
| | +GtkMenuBar
|
||||||
| \-- GtkTree
|
| | `GtkMenu
|
||||||
|
|
| +GtkNotebook
|
||||||
+-- GtkDrawingArea
|
| +GtkPaned
|
||||||
+-- GtkEntry
|
| | +GtkHPaned
|
||||||
+-- GtkMisc
|
| | `GtkVPaned
|
||||||
| +-- GtkArrow
|
| +GtkScrolledWindow
|
||||||
| +-- GtkImage
|
| +GtkTable
|
||||||
| +-- GtkLabel
|
| +GtkToolbar
|
||||||
| \-- GtkPixmap
|
| `GtkTree
|
||||||
|
|
+GtkDrawingArea
|
||||||
+-- GtkPreview
|
| `GtkCurve
|
||||||
+-- GtkProgressBar
|
+GtkEditable
|
||||||
+-- GtkRange
|
| +GtkEntry
|
||||||
| +-- GtkScale
|
| | `GtkSpinButton
|
||||||
| | +-- GtkHScale
|
| `GtkText
|
||||||
| | \-- GtkVScale
|
+GtkMisc
|
||||||
| |
|
| +GtkArrow
|
||||||
| \-- GtkScrollbar
|
| +GtkImage
|
||||||
| +-- GtkHScrollbar
|
| +GtkLabel
|
||||||
| \-- GtkVScrollbar
|
| | `GtkTipsQuery
|
||||||
|
|
| `GtkPixmap
|
||||||
+-- GtkRuler
|
+GtkPreview
|
||||||
| +-- GtkHRuler
|
+GtkProgressBar
|
||||||
| \-- GtkVRuler
|
+GtkRange
|
||||||
|
|
| +GtkScale
|
||||||
\-- GtkSeparator
|
| | +GtkHScale
|
||||||
+-- GtkHSeparator
|
| | `GtkVScale
|
||||||
\-- GtkVSeparator
|
| `GtkScrollbar
|
||||||
|
| +GtkHScrollbar
|
||||||
|
| `GtkVScrollbar
|
||||||
|
+GtkRuler
|
||||||
|
| +GtkHRuler
|
||||||
|
| `GtkVRuler
|
||||||
|
`GtkSeparator
|
||||||
|
+GtkHSeparator
|
||||||
|
`GtkVSeparator
|
||||||
</verb>
|
</verb>
|
||||||
|
|
||||||
<!-- ----------------------------------------------------------------- -->
|
<!-- ----------------------------------------------------------------- -->
|
||||||
@ -715,7 +723,7 @@ this:
|
|||||||
gc = gdk_gc_new(widget->window);
|
gc = gdk_gc_new(widget->window);
|
||||||
|
|
||||||
/* find proper dimensions for rectangle */
|
/* find proper dimensions for rectangle */
|
||||||
gdk_window_get_size(widget->window, &width, &height);
|
gdk_window_get_size(widget->window, &width, &height);
|
||||||
|
|
||||||
/* the color we want to use */
|
/* the color we want to use */
|
||||||
color = (GdkColor *)malloc(sizeof(GdkColor));
|
color = (GdkColor *)malloc(sizeof(GdkColor));
|
||||||
|
154
docs/gtkfaq.sgml
154
docs/gtkfaq.sgml
@ -389,78 +389,86 @@ give you a good grounding on what the widgets can do.
|
|||||||
<p>
|
<p>
|
||||||
The GTK+ Tutorial lists the following widgets:
|
The GTK+ Tutorial lists the following widgets:
|
||||||
<verb>
|
<verb>
|
||||||
GtkObject
|
GtkObject
|
||||||
+-- GtkData
|
+GtkData
|
||||||
| \-- GtkAdjustment
|
| +GtkAdjustment
|
||||||
|
|
| `GtkTooltips
|
||||||
\-- GtkWidget
|
`GtkWidget
|
||||||
+-- GtkContainer
|
+GtkContainer
|
||||||
| +-- GtkBin
|
| +GtkBin
|
||||||
| | +-- GtkAlignment
|
| | +GtkAlignment
|
||||||
| | +-- GtkFrame
|
| | +GtkEventBox
|
||||||
| | | *-- GtkAspectFrame
|
| | +GtkFrame
|
||||||
| | |
|
| | | `GtkAspectFrame
|
||||||
| | +-- GtkItem
|
| | +GtkHandleBox
|
||||||
| | | +-- GtkListItem
|
| | +GtkItem
|
||||||
| | | +-- GtkMenuItem
|
| | | +GtkListItem
|
||||||
| | | | +-- GtkCheckMenuItem
|
| | | +GtkMenuItem
|
||||||
| | | | *-- GtkRadioMenuItem
|
| | | | `GtkCheckMenuItem
|
||||||
| | | |
|
| | | | `GtkRadioMenuItem
|
||||||
| | | *-- GtkTreeItem
|
| | | `GtkTreeItem
|
||||||
| | |
|
| | +GtkViewport
|
||||||
| | +-- GtkViewport
|
| | `GtkWindow
|
||||||
| | \-- GtkWindow
|
| | +GtkColorSelectionDialog
|
||||||
| | +-- GtkDialog
|
| | +GtkDialog
|
||||||
| | \-- GtkFileSelection
|
| | | `GtkInputDialog
|
||||||
| |
|
| | `GtkFileSelection
|
||||||
| +-- GtkBox
|
| +GtkBox
|
||||||
| | +-- GtkHBox
|
| | +GtkButtonBox
|
||||||
| | \-- GtkVBox
|
| | | +GtkHButtonBox
|
||||||
| | +-- GtkColorSelection
|
| | | `GtkVButtonBox
|
||||||
| | \-- GtkCurve
|
| | +GtkHBox
|
||||||
| |
|
| | | +GtkCombo
|
||||||
| +-- GtkButton
|
| | | `GtkStatusbar
|
||||||
| | +-- GtkOptionMenu
|
| | `GtkVBox
|
||||||
| | \-- GtkToggleButton
|
| | +GtkColorSelection
|
||||||
| | \-- GtkCheckButton
|
| | `GtkGammaCurve
|
||||||
| | \-- GtkRadioButton
|
| +GtkButton
|
||||||
| |
|
| | +GtkOptionMenu
|
||||||
| +-- GtkList
|
| | `GtkToggleButton
|
||||||
| +-- GtkMenuShell
|
| | `GtkCheckButton
|
||||||
| | +-- GtkMenu
|
| | `GtkRadioButton
|
||||||
| | \-- GtkMenuBar
|
| +GtkCList
|
||||||
| |
|
| +GtkFixed
|
||||||
| +-- GtkNotebook
|
| +GtkList
|
||||||
| +-- GtkScrolledWindow
|
| +GtkMenuShell
|
||||||
| +-- GtkTable
|
| | +GtkMenuBar
|
||||||
| \-- GtkTree
|
| | `GtkMenu
|
||||||
|
|
| +GtkNotebook
|
||||||
+-- GtkDrawingArea
|
| +GtkPaned
|
||||||
+-- GtkEntry
|
| | +GtkHPaned
|
||||||
+-- GtkMisc
|
| | `GtkVPaned
|
||||||
| +-- GtkArrow
|
| +GtkScrolledWindow
|
||||||
| +-- GtkImage
|
| +GtkTable
|
||||||
| +-- GtkLabel
|
| +GtkToolbar
|
||||||
| \-- GtkPixmap
|
| `GtkTree
|
||||||
|
|
+GtkDrawingArea
|
||||||
+-- GtkPreview
|
| `GtkCurve
|
||||||
+-- GtkProgressBar
|
+GtkEditable
|
||||||
+-- GtkRange
|
| +GtkEntry
|
||||||
| +-- GtkScale
|
| | `GtkSpinButton
|
||||||
| | +-- GtkHScale
|
| `GtkText
|
||||||
| | \-- GtkVScale
|
+GtkMisc
|
||||||
| |
|
| +GtkArrow
|
||||||
| \-- GtkScrollbar
|
| +GtkImage
|
||||||
| +-- GtkHScrollbar
|
| +GtkLabel
|
||||||
| \-- GtkVScrollbar
|
| | `GtkTipsQuery
|
||||||
|
|
| `GtkPixmap
|
||||||
+-- GtkRuler
|
+GtkPreview
|
||||||
| +-- GtkHRuler
|
+GtkProgressBar
|
||||||
| \-- GtkVRuler
|
+GtkRange
|
||||||
|
|
| +GtkScale
|
||||||
\-- GtkSeparator
|
| | +GtkHScale
|
||||||
+-- GtkHSeparator
|
| | `GtkVScale
|
||||||
\-- GtkVSeparator
|
| `GtkScrollbar
|
||||||
|
| +GtkHScrollbar
|
||||||
|
| `GtkVScrollbar
|
||||||
|
+GtkRuler
|
||||||
|
| +GtkHRuler
|
||||||
|
| `GtkVRuler
|
||||||
|
`GtkSeparator
|
||||||
|
+GtkHSeparator
|
||||||
|
`GtkVSeparator
|
||||||
</verb>
|
</verb>
|
||||||
|
|
||||||
<!-- ----------------------------------------------------------------- -->
|
<!-- ----------------------------------------------------------------- -->
|
||||||
@ -715,7 +723,7 @@ this:
|
|||||||
gc = gdk_gc_new(widget->window);
|
gc = gdk_gc_new(widget->window);
|
||||||
|
|
||||||
/* find proper dimensions for rectangle */
|
/* find proper dimensions for rectangle */
|
||||||
gdk_window_get_size(widget->window, &width, &height);
|
gdk_window_get_size(widget->window, &width, &height);
|
||||||
|
|
||||||
/* the color we want to use */
|
/* the color we want to use */
|
||||||
color = (GdkColor *)malloc(sizeof(GdkColor));
|
color = (GdkColor *)malloc(sizeof(GdkColor));
|
||||||
|
Loading…
Reference in New Issue
Block a user