| GIMP Widgets Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Signals | ||||
GimpBrowser; GtkWidget * gimp_browser_new (void); void gimp_browser_add_search_types (GimpBrowser *browser,const gchar *first_type_label,gint first_type_id,...); void gimp_browser_set_widget (GimpBrowser *browser,GtkWidget *widget); void gimp_browser_show_message (GimpBrowser *browser,const gchar *message);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkPaned +----GtkHPaned +----GimpBrowser
GtkWidget * gimp_browser_new (void);
Create a new GimpBrowser widget.
Returns : |
a newly created GimpBrowser. |
Since GIMP 2.4
void gimp_browser_add_search_types (GimpBrowser *browser,const gchar *first_type_label,gint first_type_id,...);
Populates the GtkComboBox with search types.
|
a GimpBrowser widget |
|
the label of the first search type |
|
an integer that identifies the first search type |
|
a NULL-terminated list of more labels and ids. |
Since GIMP 2.4
void gimp_browser_set_widget (GimpBrowser *browser,GtkWidget *widget);
Sets the widget to appear on the right side of the browser.
|
a GimpBrowser widget |
|
a GtkWidget |
Since GIMP 2.4
void gimp_browser_show_message (GimpBrowser *browser,const gchar *message);
Displays message in the right side of the browser. Unless the right
side already contains a GtkLabel, the widget previously added with
gimp_browser_set_widget() is removed and replaced by a GtkLabel.
|
a GimpBrowser widget |
|
text message |
Since GIMP 2.4
"search" signalvoid user_function (GimpBrowser *gimpbrowser,
gchar *arg1,
gint arg2,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |