| Epiphany Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | Signals | ||||
EphyDialog; EphyDialogProperty; EphyDialog * ephy_dialog_new (void); EphyDialog * ephy_dialog_new_with_parent (GtkWidget *parent_window); void ephy_dialog_construct (EphyDialog *dialog,const char *resource,const char *name,const char *domain); void ephy_dialog_set_size_group (EphyDialog *dialog,const char *first_id,...); int ephy_dialog_run (EphyDialog *dialog); void ephy_dialog_show (EphyDialog *dialog); void ephy_dialog_hide (EphyDialog *dialog); void ephy_dialog_set_parent (EphyDialog *dialog,GtkWidget *parent); GtkWidget * ephy_dialog_get_parent (EphyDialog *dialog); GtkWidget * ephy_dialog_get_control (EphyDialog *dialog,const char *property_id); void ephy_dialog_get_controls (EphyDialog *dialog,const char *first_id,...);
"default-height" gint : Read / Write / Construct Only "default-width" gint : Read / Write / Construct Only "parent-window" GtkWindow* : Read / Write "persist-position" gboolean : Read / Write / Construct Only
EphyDialog * ephy_dialog_new (void);
Creates a new EphyDialog.
Returns : |
a new EphyDialog |
EphyDialog * ephy_dialog_new_with_parent (GtkWidget *parent_window);
Creates a new EphyDialog with parent_window as its parent.
|
a window to be parent of the new dialog |
Returns : |
a new EphyDialog |
void ephy_dialog_construct (EphyDialog *dialog,const char *resource,const char *name,const char *domain);
Constructs the widget part of dialog using the widget identified by name
in the GtkBuilder file found at file.
|
an EphyDialog |
|
the path to the UI resource |
|
name of the widget to use for dialog, found in file
|
|
translation domain to set for dialog
|
void ephy_dialog_set_size_group (EphyDialog *dialog,const char *first_id,...);
Put first_id and Varargs widgets into the same GtkSizeGroup.
Note that this are all widgets inside dialog.
|
an EphyDialog |
|
id of a widget in dialog
|
int ephy_dialog_run (EphyDialog *dialog);
Runs gtk_dialog_run on dialog and waits for a response.
|
an EphyDialog |
Returns : |
the user response to gtk_dialog_run or 0 if dialog is not valid |
void ephy_dialog_show (EphyDialog *dialog);
Shows dialog on screen.
|
an EphyDialog |
void ephy_dialog_hide (EphyDialog *dialog);
Calls gtk_widget_hide on dialog.
|
an EphyDialog |
void ephy_dialog_set_parent (EphyDialog *dialog,GtkWidget *parent);
Sets parent as the parent-window of dialog.
|
an EphyDialog |
|
new parent for dialog
|
GtkWidget * ephy_dialog_get_parent (EphyDialog *dialog);
Gets dialog's parent-window.
|
an EphyDialog |
Returns : |
the parent-window of dialog. [transfer none]
|
GtkWidget * ephy_dialog_get_control (EphyDialog *dialog,const char *property_id);
Gets the internal widget corresponding to property_id from dialog.
|
an EphyDialog |
|
the string identifier of the requested control |
Returns : |
the GtkWidget corresponding to property_id
or NULL. [transfer none]
|
void ephy_dialog_get_controls (EphyDialog *dialog,const char *first_id,...);
Gets the requested controls according to given property-store_location pairs. Properties are given as strings (const char *), controls are returned as GtkWidget elements. Rename to: ephy_dialog_get_controls
|
an EphyDialog |
|
identifier of the requested control |
"default-height" property "default-height" gint : Read / Write / Construct Only
The dialog default height.
Allowed values: >= G_MAXULONG
Default value: -1
"default-width" property "default-width" gint : Read / Write / Construct Only
The dialog default width.
Allowed values: >= G_MAXULONG
Default value: -1
"changed" signalvoid user_function (EphyDialog *dialog,
gpointer value,
gpointer user_data) : Has Details
Emitted everytime a child widget of the dialog has its changed or clicked signal emitted.
|
the object on which the signal is emitted |
|
new value of the modified widget, as a GValue |
|
user data set when the signal handler was connected. |