GObject.Object
GObject.InitiallyUnowned
Gtk.RecentFilter
Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkRecentFilter |
Class : | RecentFilter |
Implements: | Gtk.Buildable |
Extends: | GObject.InitiallyUnowned |
Properties | Defined By | |
---|---|---|
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
qdata : GLib.Data
read only
|
GObject.InitiallyUnowned | |
ref_count : guint32
read only
|
GObject.InitiallyUnowned |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.RecentFilter
(Object properties)
Create a new Gtk.RecentFilter
Create a new Gtk.RecentFilter
|
||
add_age
(gint32 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 child to buildable.
Adds a child to buildable. type is an optional string
describing how the child should be added.
|
Gtk.Buildable | |
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 | |
Constructs a child of buildable with the name name.
Constructs a child of buildable with the name name.
GtkBuilder calls this function if a "constructor" has been specified in the UI definition.
|
Gtk.Buildable | |
This is similar to gtk_buildable_parser_finished() but is
called once for each custom tag handled by the buildable.
This is similar to gtk_buildable_parser_finished() but is
called once for each custom tag handled by the buildable.
|
Gtk.Buildable | |
This is called at the end of each custom element handled by
the buildable.
This is called at the end of each custom element handled by
the buildable.
|
Gtk.Buildable | |
This is called for each unknown element under <child>.
This is called for each unknown element under <child>.
if it doesn't.
|
Gtk.Buildable | |
filter
(RecentFilterInfo filter_info)
:
gboolean
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 | |
Get the internal child called childname of the buildable object.
Get the internal child called childname of the buildable object.
|
Gtk.Buildable | |
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 | |
parser_finished
(Builder builder)
:
none
Called when the builder finishes the parsing of a
GtkBuilder UI definition.
Called when the builder finishes the parsing of a
GtkBuilder UI definition. Note that this will be called once for each time gtk_builder_add_from_file() or gtk_builder_add_from_string() is called on a builder.
|
Gtk.Buildable | |
Sets the property name name to value on the buildable object.
Sets the property name name to value on the buildable object.
|
Gtk.Buildable | |
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 |
None |
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 |
get_filter
()
:
Gtk.RecentFilter
Gets the GtkRecentFilter object currently used by chooser to affect
the display of the recently used resources. |
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. |