![]() |
![]() |
![]() |
libappstarter Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Signals |
#include <libappstarter/as.h> ASFileEntryPrivate; ASFileEntry; GtkWidget * as_file_entry_new (const gchar *title, GtkFileChooserAction action, const gchar *file); const gchar * as_file_entry_get_filename (ASFileEntry *fe); void as_file_entry_set_filename (ASFileEntry *fe, const gchar *text); GtkFileChooserAction as_file_entry_get_action (ASFileEntry *fe); void as_file_entry_set_action (ASFileEntry *fe, GtkFileChooserAction action); const gchar * as_file_entry_get_title (ASFileEntry *fe); void as_file_entry_set_title (ASFileEntry *fe, const gchar *title);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----ASFileEntry
GtkWidget * as_file_entry_new (const gchar *title, GtkFileChooserAction action, const gchar *file);
Creates a new ASFileEntry GtkWidget.
|
title of the file selector |
|
the action that the file selector is performing |
|
the file name to set in the entry |
Returns : |
a GtkWidget |
const gchar * as_file_entry_get_filename (ASFileEntry *fe);
Get the current file name.
|
an ASFileEntry |
Returns : |
the text of the entry |
void as_file_entry_set_filename (ASFileEntry *fe, const gchar *text);
Set text
in the fe
entry.
|
an ASFileEntry |
|
the text to set |
GtkFileChooserAction as_file_entry_get_action (ASFileEntry *fe);
Gets the type of operation that the file chooser is performing.
|
an ASFileEntry |
Returns : |
the action that the file selector is performing |
void as_file_entry_set_action (ASFileEntry *fe, GtkFileChooserAction action);
Sets the type of operation that the chooser is performing.
|
an ASFileEntry |
|
the action that the file selector is performing |
const gchar * as_file_entry_get_title (ASFileEntry *fe);
Gets the title of the file chooser.
|
an ASFileEntry |
Returns : |
the title of the file chooser |
void as_file_entry_set_title (ASFileEntry *fe, const gchar *title);
Sets the title of the file chooser.
|
an ASFileEntry |
|
title of the file chooser |
"changed"
signalvoid user_function (ASFileEntry *widget, gpointer user_data) : Run First / Action
|
the widget that received the signal |
|
user data set when the signal handler was connected. |