| Top |
gulong g_signal_connect_data_while_alive (gpointer instance,const gchar *detailed_signal,GCallback c_handler,gpointer alive,GClosureNotify destroy_data,GConnectFlags connect_flags);
Connects a GCallback function to a signal for a particular object automatically
disconnecting it when alive
is destroyed.
#define g_signal_connect_while_alive(instance, detailed_signal, c_handler, alive)
Connects a GCallback function to a signal for a particular object automatically
disconnecting it when alive
is destroyed.
#define g_signal_connect_swapped_while_alive(instance, detailed_signal, c_handler, alive)
Connects a GCallback function to a signal for a particular object automatically
disconnecting it when alive
is destroyed.
void gtk_window_set_parent (GtkWindow *window,GtkWindow *parent);
Sets a parent window for a window. This is equivalent to calling
gtk_window_set_transient_for(),
gtk_window_set_position(),
gtk_window_set_gravity(), and
gtk_window_set_destroy_with_parent() on window
.
void gtk_window_set_icon_from_stock (GtkWindow *window,const gchar *stock_id);
Sets the icon of window
from a stock item.
void
gtk_dialog_response_accept (GtkDialog *dialog);
Emits the "response" signal with GTK_RESPONSE_ACCEPT.
void gtk_dialog_set_response_visible (GtkDialog *dialog,gint response_id,gboolean setting);
Sets the <literal>visible</literal> property of
each widget in the dialog's action area with the given response_id
.
A convenient way to show/hide dialog buttons.
gint
gtk_radio_button_get_active (GtkRadioButton *radio);
Returns the index of the active GtkRadioButton.
void gtk_radio_button_set_active (GtkRadioButton *radio,guint index);
Sets the active item of the radio group.
gboolean gtk_tree_model_iter_prev (GtkTreeModel *tree_model,GtkTreeIter *iter);
Sets iter
to point to the node preceding it at the current level.
If there is no previous iter
, FALSE is returned and iter
is set to be invalid.
void gtk_label_set_int (GtkLabel *label,gint value);
Sets the value of a GtkLabel widget.
gint
gtk_label_get_int (GtkLabel *label);
Gets the value of the label
represented as an integer.
GtkWidget * gtk_box_get_nth_child (GtkBox *box,gint n);
Returns the n
'th item in box
.
const gchar *
ogmrip_get_system_profiles_dir (void);
Return the system directory containing profiles.
const gchar *
ogmrip_get_user_profiles_dir (void);
Return the user directory containing profiles.
void
ogmrip_combo_box_containers_construct (GtkComboBox *combo);
Configures a combo
to store containers.
void
ogmrip_combo_box_add_containers (GtkComboBox *combo);
Populates combo
with all known containers.
GType
ogmrip_combo_box_get_active_container (GtkComboBox *combo);
Returns the selected container.
void ogmrip_combo_box_set_active_container (GtkComboBox *combo,const gchar *container);
Selects the container with the given name
.
void
ogmrip_combo_box_video_codecs_construct
(GtkComboBox *combo);
Configures a combo
to store video codecs.
void ogmrip_combo_box_add_video_codecs (GtkComboBox *combo,GType container);
Populates combo
with all video codecs compatible with container
.
GType
ogmrip_combo_box_get_active_video_codec
(GtkComboBox *combo);
Returns the selected video codec.
void ogmrip_combo_box_set_active_video_codec (GtkComboBox *combo,const gchar *codec);
Selects the video codec with the given name
.
void
ogmrip_combo_box_audio_codecs_construct
(GtkComboBox *combo);
Configures a combo
to store audio codecs.
void ogmrip_combo_box_add_audio_codecs (GtkComboBox *combo,GType container);
Populates combo
with all audio codecs compatible with container
.
GType
ogmrip_combo_box_get_active_audio_codec
(GtkComboBox *combo);
Returns the selected audio codec.
void ogmrip_combo_box_set_active_audio_codec (GtkComboBox *combo,const gchar *codec);
Selects the audio codec with the given name
.
void
ogmrip_combo_box_subp_codecs_construct
(GtkComboBox *combo);
Configures a combo
to store subp codecs.
void ogmrip_combo_box_add_subp_codecs (GtkComboBox *combo,GType container);
Populates combo
with all subp codecs compatible with container
.
GType
ogmrip_combo_box_get_active_subp_codec
(GtkComboBox *combo);
Returns the selected subp codec.
void ogmrip_combo_box_set_active_subp_codec (GtkComboBox *combo,const gchar *codec);
Selects the subp codec with the given name
.
void ogmrip_combo_box_languages_construct (GtkComboBox *combo,const gchar *default_text);
Configures a combo
to store languages.
GtkWidget * ogmrip_message_dialog_new (GtkWindow *parent,GtkMessageType type,const gchar *format,...);
Creates a new message dialog, which is a simple dialog with an icon indicating the dialog type (error, warning, etc.) and some text the user may want to see.
gint ogmrip_message_dialog (GtkWindow *parent,GtkMessageType type,const gchar *format,...);
Creates and displays a new message dialog, which is a simple dialog with an icon indicating the dialog type (error, warning, etc.) and some text the user may want to see.
GtkWidget * ogmrip_load_dvd_dialog_new (GtkWindow *parent,OGMDvdDisc *disc,const gchar *name,gboolean cancellable);
Creates a dialog waiting for the given DVD to be inserted.