KWWidgets/Projects/UIDesigner/Application/PreviousWork/GladeStudyResults: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 13: Line 13:
==List of basic widgets==
==List of basic widgets==


These are the basic gtk+ widgets :
These are the basic gtk+ widgets (you can get a glimpse of the look of several of these widgets [http://developer.gnome.org/doc/API/2.0/gtk/ch02.html here]):<br><br>


:'''<u>Window</u>''' : A toplevel widget which can contain other widgets. [http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html GTK+ reference manual]<br><br>
:'''<u>Window</u>''' : A toplevel widget which can contain other widgets. [http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html GTK+ reference manual]<br><br>

Revision as of 13:31, 27 March 2006

Glade

Glade is a free user interface builder for GTK+ and GNOME, released under the GNU GPL License.
The user interfaces designed in Glade are saved as XML, and by using the libglade library these can be loaded by applications dynamically as needed. (Glade can also generate C code, though this isn't recommended for large applications.)
By using libglade, Glade XML files can be used in numerous programming languages including C, C++, Java, Perl, Python, C#, Pike, Ruby, Haskell, Objective Caml and Scheme. Adding support for other languages is easy too.

Quote taken from Glade's portal page.

The version used for this study is version 2.12.0, included in the Breezy Badger release of the Ubuntu distribution.

List of basic widgets

These are the basic gtk+ widgets (you can get a glimpse of the look of several of these widgets here):

Window : A toplevel widget which can contain other widgets. GTK+ reference manual

Menu bar : A drop down menu consisting of a list of menu items used to perform application functions. GTK+ reference manual

Toolbar : Create bars of buttons and other widgets. GTK+ reference manual

Handle box : A bin widget which displays its child and a handle that the user can drag to tear off a separate window (the float window) containing the child widget. GTK+ reference manual

Toolbar with buttons : A specialized toolbar that contains buttons. GTK+ reference manual related topic

Toolbar with toggle buttons : A specialized toolbar that contains toggle buttons. GTK+ reference manual related topic

Toolbar with radio buttons : A specialized toolbar that contains radio buttons. GTK+ reference manual related topic

Toolbar with separator item : A specialized toolbar that contains separators widgets which separates groups of toolbar items. The separator is either vertical or horizontal depending on the theme. GTK+ reference manual related topic

Label : Displays a small amount of text. A label widget may contain mnemonics, which are underlined characters used for keyboard navigation. GTK+ reference manual

Text entry : A single line text entry field. GTK+ reference manual

Combo box entry : A text entry field with a dropdown list. GTK+ reference manual

Text view : A multiline line text entry field. Text is stored in the UTF-8 encoding and might use tags to specify certain attributes, like <bold>. GTK+ reference manual

Button : A widget that creates a signal when clicked on. It can hold almost any other standard child widget. GTK+ reference manual

Toggle button : Create buttons which will remain 'pressed-in' when clicked. Clicking again will cause the toggle button to return to its normal state. GTK+ reference manual

Check button : Create widgets, normally labels, with a discrete toggle button next to it. GTK+ reference manual

Radio button : A choice from multiple check buttons. When one is selected, all other radio buttons in the same group are deselected. GTK+ reference manual

Combo box : A widget that allows the user to choose from a list of valid choices. When activated it displays a popup which allows the user to make a new choice. Choice values are not editable. GTK+ reference manual

Spin button : A combination of a text entry field and two buttons. The user can click on one of two arrows to increment or decrement the displayed value or type it into the text enty. Validation can be performed. GTK+ reference manual

List or tree view : A widget for displaying both trees and lists. GTK+ reference manual

Icon view : A widget which displays a grid of icons with labels, with possibility to select one or multiple items. GTK+ reference manual

Horizontal separator : It displays a horizontal line with a shadow to make it appear sunken into the interface. GTK+ reference manual

Vertical separator : It displays a vertical line with a shadow to make it appear sunken into the interface. GTK+ reference manual

Image : A widget displaying an image. The image may be an animation. GTK+ reference manual

Drawing area : A widget for custom user interface elements. It's essentially a blank widget where you can draw on. GTK+ reference manual

Dialog : Used to create popup windows. GTK+ reference manual

File chooser dialog : A file chooser dialog box, suitable for "File/Open" or "File/Save" commands. GTK+ reference manual

Color selection dialog : A standard dialog box for selecting a color. GTK+ reference manual

Font selection dialog : A dialog box for selecting fonts available on the running system. GTK+ reference manual

Horizontal box : A container that organizes child widgets into a single row. All children are allocated the same height. GTK+ reference manual

Vertical box : A container that organizes child widgets into a single column. All children are allocated the same width. GTK+ reference manual

Table : A container useful to arrange widgets in rows and columns, making it easy to align many widgets next to each other, horizontally and vertically. GTK+ reference manual

Fixed positions : A container which allows you to position widgets at fixed coordinates, given in pixels, with no automatic layout management. GTK+ reference manual

Horizontal button box : A container for arranging buttons horizontally. GTK+ reference manual

Vertical button box : A container for arranging buttons vertically. GTK+ reference manual

Horizontal panes : A container with two panes arranged horizontally. The division between the two panes is adjustable by the user by dragging a handle. GTK+ reference manual

Vertical panes : A container with two panes arranged vertically. The division between the two panes is adjustable by the user by dragging a handle. GTK+ reference manual

Notebook : A container whose children are pages that can be switched between using tab labels along one edge. GTK+ reference manual

Frame : A bin that surrounds its child with a decorative frame and an optional label. If present, the label is drawn in a gap in the top side of the frame. GTK+ reference manual

Scrolled Window : A container the accepts a single child widget. It adds scrollbars to the child widget and optionally draws a beveled frame around the child widget. GTK+ reference manual

Status bar : A widget used to report messages of minor importance to the user. GTK+ reference manual

List of additionnal widgets

Standard additionnal widgets

These are the additionnal gtk+ widgets :

About dialog : Creates a window to display information about an application. GTK+ reference manual

Input dialog

Toolbar button with menus

Toolbar item

Horizontal scale

Vertical scale

Horizontal ruler

Vertical ruler

Alignment

Event box

Calendar

Progress bar

Layout

Aspect frame

Arrow

Expander

Curve

Gamma curve

Horizontal Scrollbar

Vertical Scrollbar

File chooser

Color selection

Font selection

Cell view

File chooser button

Color chooser button

Font chooser button

Popup menu

View port

Custom widget


Deprecated widgets

These widgets are declared depracated but still supported :

Columned list

Columned tree

List

Combo box

File selection dialog

Option menu

Preview


GNOME specific additionnal widgets

With Glade one can create GNOME specific projects. These are the GNOME specific widgets proposed by Glade :

GNOME application window

Druid

GNOME canvas

Icon selection

GNOME icon entry

GNOME HRef link button

GnomeDataEdit

GNOME application bar

Bonobo control

These are the GNOME specific widgets declared deprecated but still supported :

GNOME pixmap

GNOME dialog box

GNOME message box

Property dialog box

GNOME about dialog

Icon list

GNOME entry

GNOME file entry

GNOME pixmap entry

GNOME color picker

GNOME font picker