GObject.InitiallyUnowned
GObject.Object
Gtk.Object
Gtk.RecentFilter
Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkRecentFilter |
Class : | RecentFilter |
Extends: | Gtk.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
flags : Number
read only
|
Gtk.Object | |
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
parent_instance : GObject.InitiallyUnowned
read only
|
Gtk.Object | |
qdata : GLib.Data
|
GObject.InitiallyUnowned | |
ref_count : Number
|
GObject.InitiallyUnowned | |
user_data : void*
|
Gtk.Object |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.RecentFilter
(Object properties)
Create a new Gtk.RecentFilter
Create a new Gtk.RecentFilter
|
||
add_age
(Number days)
:
none
Adds a rule that allows resources based on their age - that is, the number of days elapsed since they were last modified.
Adds a rule that allows resources based on their age - that is, the number of days elapsed since they were last modified.
|
Gtk.RecentFilter | |
add_application
(String application)
:
none
Adds a rule that allows resources based on the name of the application that has registered them.
Adds a rule that allows resources based on the name of the application that has registered them.
|
Gtk.RecentFilter | |
Adds a rule to a filter that allows resources based on a custom callback function.
Adds a rule to a filter that allows resources based on a custom callback function. The bitfield needed which is passed in provides information about what sorts of information that the filter function needs; this allows GTK+ to avoid retrieving expensive information when it isn't needed by the filter.
|
Gtk.RecentFilter | |
add_group
(String group)
:
none
Adds a rule that allows resources based on the name of the group to which they belong
Adds a rule that allows resources based on the name of the group to which they belong
|
Gtk.RecentFilter | |
add_mime_type
(String mime_type)
:
none
Adds a rule that allows resources based on their registered MIME type.
Adds a rule that allows resources based on their registered MIME type.
|
Gtk.RecentFilter | |
add_pattern
(String pattern)
:
none
Adds a rule that allows resources based on a pattern matching their display name.
Adds a rule that allows resources based on a pattern matching their display name.
|
Gtk.RecentFilter | |
add_pixbuf_formats
()
:
none
Adds a rule allowing image files in the formats supported by GdkPixbuf.
Adds a rule allowing image files in the formats supported by GdkPixbuf.
|
Gtk.RecentFilter | |
destroy
()
:
none
|
Gtk.Object | |
filter
(RecentFilterInfo filter_info)
:
Boolean
Tests whether a file should be displayed according to filter.
Tests whether a file should be displayed according to filter. The GtkRecentFilterInfo structure filter_info should include the fields returned from gtk_recent_filter_get_needed(). This function will not typically be used by applications; it is intended principally for use in the implementation of GtkRecentChooser.
|
Gtk.RecentFilter | |
Gtk.Object | ||
Gtk.Object | ||
get_name
()
:
String
Gets the human-readable name for the filter.
Gets the human-readable name for the filter. See gtk_recent_filter_set_name(). is owned by the filter object and should not be freed.
|
Gtk.RecentFilter | |
get_needed
()
:
Gtk.RecentFilterFlags
Gets the fields that need to be filled in for the structure passed to gtk_recent_filter_filter() This function will not typically be used by applications; it is intended principally for use in the implementation of GtkRecentChooser.
Gets the fields that need to be filled in for the structure passed to gtk_recent_filter_filter() This function will not typically be used by applications; it is intended principally for use in the implementation of GtkRecentChooser. calling gtk_recent_filter_filter()
|
Gtk.RecentFilter | |
get_user_data
()
:
void*
|
Gtk.Object | |
remove_data
(String key)
:
none
|
Gtk.Object | |
remove_data_by_id
(Number data_id)
:
none
|
Gtk.Object | |
remove_no_notify
(String key)
:
none
|
Gtk.Object | |
remove_no_notify_by_id
(Number key_id)
:
none
|
Gtk.Object | |
Gtk.Object | ||
Gtk.Object | ||
Gtk.Object | ||
Gtk.Object | ||
set_name
(String name)
:
none
Sets the human-readable name of the filter; this is the string that will be displayed in the recently used resources selector user interface if there is a selectable list of filters.
Sets the human-readable name of the filter; this is the string that will be displayed in the recently used resources selector user interface if there is a selectable list of filters.
|
Gtk.RecentFilter | |
set_user_data
(void* data)
:
none
|
Gtk.Object | |
sink
()
:
none
|
Gtk.Object |
Event | Defined By | |
---|---|---|
destroy (Object self)
:
none
|
Gtk.Object |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.RecentChooser
Property |
filter : Gtk.RecentFilter
The GtkRecentFilter object to be used when displaying the recently used resources.
|
Gtk.RecentChooser
Method |
add_filter
(RecentFilter filter)
:
none
Adds filter to the list of GtkRecentFilter objects held by chooser.
|
Gtk.RecentChooser
Method |
remove_filter
(RecentFilter filter)
:
none
Removes filter from the list of GtkRecentFilter objects held by chooser.
|
Gtk.RecentChooser
Method |
set_filter
(RecentFilter filter)
:
none
Sets filter as the current GtkRecentFilter object used by chooser to affect the displayed recently used resources.
|
Gtk.RecentChooser
Method |
get_filter
()
:
Gtk.RecentFilter
Gets the GtkRecentFilter object currently used by chooser to affect the display of the recently used resources.
|