Difference between revisions of "Work in progress"
(Replacing page with ' ==previously…== * work in progress on text * work in progress on paths') |
(start of tool option widgets description) |
||
Line 1: | Line 1: | ||
+ | == Tool options widgets == | ||
+ | |||
+ | All UI elements are built from a few basic UI building blocks called widgets. A list with images of all current available GTK+ 2 widgets can be found at [http://developer.gnome.org/gtk/2.24/ch02.html] and their respective GTK+ 3 counterparts at [http://developer.gnome.org/gtk3/3.4/ch03.html]. Since GIMP has special needs it also has quite a few widgets of it's own, a number of them (the external accessible ones) can be found at [http://developer.gimp.org/api/2.0/libgimpwidgets/libgimpwidgets-gallery.html]. | ||
+ | GIMP also has a number of additional internally used widgets, quite a few just extend basic GTK+ widget for specific needs, without altering the visual look and feel. However, there are also completely new widgets for specific needs like those used for pressure curves or the gimpspinscale a mix of a spin and scale button that can be found in a lot of tool options. A third category are ''meta'' widgets that mix together a few basic widgets in a certain fashion for a particular purpose, an example is the gimpscaleentry which consists of a label, scale slider and spinbutton (look at Tools->Color Tools->Brightness-Contrast menu). | ||
+ | An exhaustive list is unneeded as most tooloptions only use a rather basic subset of aforementioned widgets, the following table is a list of those common widgets used in tool options and their GIMP counterparts. | ||
+ | |||
+ | |||
+ | {| class="wikitable" | ||
+ | |+ List of widgets | ||
+ | |- | ||
+ | ! GTK+ | ||
+ | ! GIMP | ||
+ | |- | ||
+ | | GtkLabel | ||
+ | | | ||
+ | |- | ||
+ | | GtkComboBox | ||
+ | | Gimp{Int,Unit,Sttring,ColorProfile,Enum}ComboBox | ||
+ | |- | ||
+ | | GtkButton | ||
+ | | Gimp{,Chain,Pick,Color}Button | ||
+ | |- | ||
+ | | GtkSpinButton | ||
+ | | GimpSpinScale | ||
+ | |- | ||
+ | | GtkExpander | ||
+ | | | ||
+ | |- | ||
+ | | GtkEntry | ||
+ | | | ||
+ | |- | ||
+ | | GtkToggleButton | ||
+ | | | ||
+ | |- | ||
+ | | GtkScale | ||
+ | |- | ||
+ | | GtkRadioButton | ||
+ | | | ||
+ | |} | ||
==previously…== | ==previously…== | ||
* [[work in progress on text]] | * [[work in progress on text]] | ||
* [[work in progress on paths]] | * [[work in progress on paths]] |
Revision as of 23:20, 14 May 2012
Tool options widgets
All UI elements are built from a few basic UI building blocks called widgets. A list with images of all current available GTK+ 2 widgets can be found at [1] and their respective GTK+ 3 counterparts at [2]. Since GIMP has special needs it also has quite a few widgets of it's own, a number of them (the external accessible ones) can be found at [3]. GIMP also has a number of additional internally used widgets, quite a few just extend basic GTK+ widget for specific needs, without altering the visual look and feel. However, there are also completely new widgets for specific needs like those used for pressure curves or the gimpspinscale a mix of a spin and scale button that can be found in a lot of tool options. A third category are meta widgets that mix together a few basic widgets in a certain fashion for a particular purpose, an example is the gimpscaleentry which consists of a label, scale slider and spinbutton (look at Tools->Color Tools->Brightness-Contrast menu). An exhaustive list is unneeded as most tooloptions only use a rather basic subset of aforementioned widgets, the following table is a list of those common widgets used in tool options and their GIMP counterparts.
GTK+ | GIMP |
---|---|
GtkLabel | |
GtkComboBox | Gimp{Int,Unit,Sttring,ColorProfile,Enum}ComboBox |
GtkButton | Gimp{,Chain,Pick,Color}Button |
GtkSpinButton | GimpSpinScale |
GtkExpander | |
GtkEntry | |
GtkToggleButton | |
GtkScale | |
GtkRadioButton |