Top |
void | thunar_gtk_label_set_a11y_relation () |
void | thunar_gtk_label_disable_hyphens () |
void | thunar_gtk_menu_clean () |
void | thunar_gtk_menu_run () |
void | thunar_gtk_menu_run_at_event () |
void | thunar_gtk_menu_hide_accel_labels () |
void | thunar_gtk_widget_set_tooltip () |
GtkWidget * | thunar_gtk_menu_thunarx_menu_item_new () |
GMountOperation * | thunar_gtk_mount_operation_new () |
GtkWidget * | thunar_gtk_get_focused_widget () |
gboolean | thunar_gtk_editable_can_cut () |
gboolean | thunar_gtk_editable_can_copy () |
gboolean | thunar_gtk_editable_can_paste () |
gint | thunar_gtk_orientable_get_center_pos () |
void thunar_gtk_label_set_a11y_relation (GtkLabel *label
,GtkWidget *widget
);
Sets the ATK_RELATION_LABEL_FOR
relation on label
for widget
, which means
accessiblity tools will identify label
as descriptive item for the specified
widget
.
void
thunar_gtk_label_disable_hyphens (GtkLabel *label
);
Tells label
to not insert hyphens by adding the attribute to its PangoAttrList.
void
thunar_gtk_menu_clean (GtkMenu *menu
);
Walks through the menu and all submenus and removes them, so that the result will be a clean GtkMenu without any items
void
thunar_gtk_menu_run (GtkMenu *menu
);
Conveniance wrapper for thunar_gtk_menu_run_at_event_pointer, to run a menu for the current event
void thunar_gtk_menu_run_at_event (GtkMenu *menu
,GdkEvent *event
);
A simple wrapper around gtk_menu_popup_at_pointer()
, which runs the menu
in a separate
main loop and returns only after the menu
was deactivated.
This method automatically takes over the floating reference of menu
if any and
releases it on return. That means if you created the menu via gtk_menu_new()
you'll
not need to take care of destroying the menu later.
void
thunar_gtk_menu_hide_accel_labels (GtkMenu *menu
);
Will hide the accel_labels of all menu items of this menu and its submenus
void thunar_gtk_widget_set_tooltip (GtkWidget *widget
,const gchar *format
,...
);
Sets the tooltip for the widget
to a string generated
from the format
and the additional arguments in @....
GtkWidget * thunar_gtk_menu_thunarx_menu_item_new (GObject *thunarx_menu_item
,GtkMenuShell *menu_to_append_item
);
method to create a GtkMenuItem from a ThunarxMenuItem and append it to the passed GtkMenuShell This method will as well add all sub-items in case the passed ThunarxMenuItem is a submenu
GMountOperation *
thunar_gtk_mount_operation_new (gpointer parent
);
Create a mount operation with some defaults.