| Top |
| GAppInfo * | app-info | Read / Write |
| gboolean | is-favorite | Read |
| PhoshAppGridButtonMode | mode | Read / Write |
| #define | PHOSH_APP_UNKNOWN_ICON |
| #define | PHOSH_TYPE_APP_GRID_BUTTON |
| enum | PhoshAppGridButtonMode |
| struct | PhoshAppGridButtonClass |
| PhoshAppGridButton |
GEnum ╰── PhoshAppGridButtonMode GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkFlowBoxChild ╰── PhoshAppGridButton
GtkWidget *
phosh_app_grid_button_new_favorite (GAppInfo *info);
void phosh_app_grid_button_set_app_info (PhoshAppGridButton *self,GAppInfo *info);
GAppInfo *
phosh_app_grid_button_get_app_info (PhoshAppGridButton *self);
gboolean
phosh_app_grid_button_is_favorite (PhoshAppGridButton *self);
void phosh_app_grid_button_set_mode (PhoshAppGridButton *self,PhoshAppGridButtonMode mode);
PhoshAppGridButtonMode
phosh_app_grid_button_get_mode (PhoshAppGridButton *self);
#define PHOSH_APP_UNKNOWN_ICON "app-icon-unknown"
Icon name to use for apps we can't identify or whose icon is invalid
struct PhoshAppGridButtonClass {
GtkFlowBoxChildClass parent_class;
};
“app-info” property“app-info” GAppInfo *
App Info.
Owner: PhoshAppGridButton
Flags: Read / Write
“is-favorite” property“is-favorite” gboolean
TRUE when the application is currently favorited
Owner: PhoshAppGridButton
Flags: Read
Default value: FALSE
Stability Level: Private
“mode” property“mode” PhoshAppGridButtonMode
The PhoshAppGridButtonMode of the button
In PHOSH_APP_GRID_BUTTON_FAVORITES the label is
hidden
Owner: PhoshAppGridButton
Flags: Read / Write
Default value: PHOSH_APP_GRID_BUTTON_LAUNCHER
Stability Level: Private
“app-launched” signalvoid user_function (PhoshAppGridButton *phoshappgridbutton, GAppInfo *arg1, gpointer user_data)
Flags: Run Last