| Previous | Next |
These widgets are either deprecated by the gtk+/gnome developers, and therefore not to be used in new code, or have gone missing between Glade1 and Glade 2. The missing widgets may have moved to new libraries, when I find out, I will note it here.
| Deprecated | |||
|---|---|---|---|
| Image | Name | Purpose | Functions and Considerations |
| List | creates a list, each element in the list can be manipulated | Common signals here are select_child, selection_changed, unselect_child. Functions include gtk_list_insert_items(), gtk_list_append_items(), gtk_list_remove_items(), gtk_list_select_item(), etc. | |
| Columned List | A multiple column list | This widget allows lists in columns (ie a file selection list which shows ownership and creation data as well as filename). You will need to specify the select mode in the properties window. This mode indicates whether only one or many items can be selected at once from the window (default is single). GtkCList has many signals and is a complicated widget. Please see the Gtk+ Reference Manual,for more details. | |
| Columned Tree | a multiple columned tree | Once mastered, this widget is actually quite useful, or was. It is quite complicated however, please see the references if you need to use it with legacy software. | |
| Preview | a preview widget | I never used this before it was deprecated, so check the reference. | |
| Dialog Box | creates a dialog box, with premade buttons, to gnome standard | You will have to associate handlers to the buttons, you can change the labels and icons on the buttons as well, or remove one or two if you wish. | |
| Message Box | creates a standardized message box | You will need to add whatever message, choose the type of message (warning, information etc), and deal with the signal on the 'ok' button. | |
| Property Box | creates a standardized popup window to deal with various program properties | You will have to handle the signals on the buttons at the bottom of the box, as well as those that you might create within the box. As with the other gnome widgets, this is created from gtk widgets, so see above on buttons etc. | |
| Gnome Pixmap | loads and displays pixmaps from various sources | This widget will load, resize and set up various types of image correctly. | |
| Missing | |||
| 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. | |
| Image Widget | creates a widget in which can be placed an image | This widget holds an image which can be manipulated by an application. | |
| Gnome Number Entry | creates a number entry widget with a calculator button | This widget has a calculator button, and lets the user put the results of the computation straight into the entry widget. It doesn't do any limit checks. Use gnome_number_entry_get_number() to grab the number. | |
| Dial | creates a dial widget | This is an analog dial, much like an old radio tuner dial. It can be set to view only, or the user can manipulate it to a value. Use gtk_dial_get_percentage(), gtk_dial_set_percentage(), gtk_dial_set_value(), and gtk_dial_get_value() to deal with the numbers. | |
| Clock | creates a digital clock that counts up or down or shows realtime | You can set the format of the display in the Glade properties window. To use it as a timer set the seconds, and interval in the Properties window. Gtk_clock_start() will start the clock moving, you'll have to call this in some other handler (ie an ok button, or whatever), gtk_clock_stop() will stop it. | |
| Gnome Calculator | creates a calculator widget | You can hook to the result upon the result_changed signal. Use the gnome_calculator_get_result() function to actually grab it. | |
| Gnome Less | creates a widget that shows a file or a stream | This widget is like a unix 'more' command. The user can view a text file. The font can be specified in the Glade Properties window, use gnome_less_show_file() to show a file, gnome_less_show_filestream() to show a filestream and so on. | |
| Gnome Paper Selector | creates a paper selection widget, for printing | In your code, find the widget and use the various gnome_paper_selector_get_*() functions to link the selections to your printing code. | |
| Gnome Animator | creates a widget to add animation to applications | See the documentation as I am not familiar with this one. |
| Previous | Next |