Palette

The palette allows you to pick widgets to be added to your current Glade proejct. There are three major modes of operation to the palette. The first mode is selection, and can be used by clicking on the large black arrow with "Selector" labeled next to it. In this mode mouse clicks will select already existing widgets from your project, allowing you to edit them using the property editor. Selection mode is also indicated by an arrow cursor.

The second mode of operation is widget placement. When selecting most widgets, Glade will change the cursor to a cross and then allow you to place widgets inside of containers, top-level widgets, etc. After placing a widget Glade returns to selection mode.

The third mode of operation is top level placement. For certain top-level widgets, selecting them in the palette will cause them to instantly appear on your desktop for editing. This contrasts with the usual mode of widget placement described above. After selecting a top-level widget the mode is changed back to selection.

The palette groups widgets into three distinct sections: Gtk+ Basic, Gtk+ Additional, and Gnome. The Gtk+ Basic category contains often used Gtk+ widgets such as GtkWindow, GtkLabel, etc. Gtk+ Additional contains widgets such as GtkAlignment, GtkPacker, and GtkCalendar. The Gnome category includes all of the GNOME widgets that Glade supports.

A list of all widgets supported is provided below. In order to determine exactly what a widget is in the palette (i.e., the picture provided is not obvious), you can get a tooltip with a description by resting your cursor over the widget in question.

Gtk+ Basic

Table 1. Gtk+ Basic

     
GtkWindowGtkMenuBarGtkToolbarGtkHandleBox 
GtkLabelGtkEntryGtkComboGtkText 
GtkButtonGtkToggleButtonGtkCheckButtonGtkRadioButton 
GtkListGtkTreeGtkCListGtkCTree 
GtkOptionMenuGtkSpinButtonGtkProgressBarGtkStatusbar 
GtkHSeparatorGtkVSeparatorGtkPixmapGtkDrawingArea 
GtkDialogGtkFileSelectionGtkColorSelectionDialogGtkFontSelectionDialog 
GtkHBoxGtkVBoxGtkTableGtkFixed 
GtkHButtonBoxGtkVButtonBoxGtkHPanedGtkVPaned 
GtkNotebookGtkFrameGtkScrolledWindowGtkViewport 

Gtk+ Additional

Table 2. Gtk+ Additional

GtkHScaleGtkVScaleGtkHRulerGtkVRuler
GtkAlignmentGtkEventBoxGtkAccelLabelGtkCalendar
GtkLayoutGtkPackerGtkAspectFrameGtkPopopMenu
GtkCurveGtkGammaCurveGtkHScrollbarGtkVScrollbar
GtkImageGtkPreviewGtkColorSelectionGtkFontSelection
GtkInputDialogCustom WidgetGtkArrow 

GNOME

Table 3. Gnome

GnomeAppGnomeDialogGnomeMessageBoxGnomeAbout
GnomeColorPickerGnomeFontPickerGnomeIconEntryGnomeHRef
GnomeEntryGnomeFileEntryGnomeNumberEntryGnomePixmapEntry
GnomeDateEditGtkDialGtkClockGnomeAppBar
GnomeCalculatorGnomeLessGnomePaperSelectorGnomeSpell (deprecated)
GnomeCanvasGnomeIconListGnomeIconSelectionGnomePropertyBox
GnomeDruidGnomePixmapGnomeAnimator