Top | ![]() |
![]() |
![]() |
![]() |
#define | IDE_TYPE_GREETER_SECTION |
struct | IdeGreeterSectionInterface |
IdeGreeterSection |
gint
ide_greeter_section_get_priority (IdeGreeterSection *self
);
Get the priority of the section. The lowest integral value is sorted first in the list of sections.
Since: 3.32
gboolean ide_greeter_section_filter (IdeGreeterSection *self
,DzlPatternSpec *spec
);
Refilter the visibile items based on the current search.
Since: 3.32
void ide_greeter_section_emit_project_activated (IdeGreeterSection *self
,IdeProjectInfo *project_info
);
gboolean
ide_greeter_section_activate_first (IdeGreeterSection *self
);
Active the first item in the section. This happens when the user hits Enter within the search box to select the first visible item in the search result set.
Ensure the given item is visible before activating it.
If no item matched, then return FALSE
.
Since: 3.32
void ide_greeter_section_set_selection_mode (IdeGreeterSection *self
,gboolean selection_mode
);
void
ide_greeter_section_delete_selected (IdeGreeterSection *self
);
void
ide_greeter_section_purge_selected (IdeGreeterSection *self
);
struct IdeGreeterSectionInterface { GTypeInterface parent_iface; void (*project_activated) (IdeGreeterSection *self, IdeProjectInfo *project_info); gint (*get_priority) (IdeGreeterSection *self); gboolean (*filter) (IdeGreeterSection *self, DzlPatternSpec *spec); gboolean (*activate_first) (IdeGreeterSection *self); void (*set_selection_mode) (IdeGreeterSection *self, gboolean selection_mode); void (*delete_selected) (IdeGreeterSection *self); void (*purge_selected) (IdeGreeterSection *self); };
“project-activated”
signalvoid user_function (IdeGreeterSection *self, IdeProjectInfo *project_info, gpointer user_data)
The "project-activated" signal is emitted when a project has been selected by the user in the section.
Use ide_greeter_section_emit_project_activated()
to activate
this signal.
self |
||
project_info |
an IdeProjectInfo |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.32