| Previous | Up | Next |
This listing shows most of the additional Gtk+ widgets found with Glade. Please see the previous page for general notes on how to use the widgets and refer to them in callbacks.c
Note that the following is NOT an exhaustive list of widgets. There are widgets available with different libraries that aren't included in Glade. Also some of the additional widgets are not included here, as I am not personally familiar with them. Finally not all the functions for each widget are listed here. See the documentation for more information on them.
| Gtk+ Additional | |||
|---|---|---|---|
| Image | Name | Purpose | Functions and Considerations |
| Horizontal Scale | creates a horizonal slider | You can use this to allow the user to select a value from a range, by sliding the scale bar. It works much like a spin button, you can set min and max, original value, step increment and such. | |
| Vertical Scale | creates a vertical slider | This works just like the horizontal scale, but vertically. | |
| Horizontal Ruler | creates a horizontal ruler | This widget simply puts up a horizontally aligned ruler. You can set the scale of the ruler as you please. | |
| Vertical Ruler | creates a vertical ruler | This is just like the horizontal ruler widget, but vertically aligned. | |
| Alignment Widget | creates a widget in which alignment can be set for child widgets | This is a container widget, in which you can set the location of the child widget exactly (based on the size of the container widget). | |
| Event Box | this widget catches an event | This widget allows you to catch an event for another widget, which doesn't have its own window. | |
| Label with Accelerator | creates a label with an accelerator | The label shows an accelerator key to the right of the entry, (ie Save Ctrl-S). It's used in menus and such. | |
| Calendar | creates a calendar widget | You can get the date the user selects with gtk_calender_get_date(). You can also have it mark days, and so on, using the various calendar signals like day_selected, etc. | |
| Layout | creates a layout widget | This seems to be a container widget where you can lay out other widgets. I'm not experienced with it, myself. | |
| Aspect Frame | creates a frame in which the child widget keeps its aspect | This widget is a container which controls the aspect of the child widget (ie widget placed within it). You can set the aspect ratio from the properties window in Glade. | |
| Image Widget | creates a widget in which can be placed an image | This widget holds an image which can be manipulated by an application. | |
| Color Selection | this is the widget that controls color selection | This widget is the heart of the color selection dialog window (see Gtk+ Basic widgets in this tutorial). You can use the color_changed signal with it, and gtk_color_selection_get_color(), among other functions. | |
| Font Selection | this widget controls font selection | This is the heart of the font selection dialog window (see Gtk+ Basic widgets). Use gtk_font_selection_get_font(), gtk_font_selection_get_font_name(), and so on, with it. | |
| Arrow | creates an arrow | This is just a little display arrow which points in one of the four cardinal directions. |
| Previous | Up | Next |