Searched refs:gtkMenuItem (Results 1 – 4 of 4) sorted by relevance
/dports/x11-themes/qt5-style-plugins/qtstyleplugins-5.0.0-23-g335dbe/src/plugins/styles/gtk2/ |
H A D | qgtkstyle_p.cpp | 229 GtkWidget *gtkMenuItem = gtk_menu_item_new_with_label("X"); in initGtkMenu() local 230 gtk_menu_shell_append((GtkMenuShell*)gtkMenu, gtkMenuItem); in initGtkMenu() 231 gtk_widget_realize(gtkMenuItem); in initGtkMenu()
|
H A D | qgtkstyle.cpp | 3068 GtkWidget *gtkMenuItem = menuItem->checked ? d->gtkWidget("GtkMenu.GtkCheckMenuItem") : in drawControl() local 3071 style = gtk_widget_get_style(gtkMenuItem); in drawControl() 3111 … gtkPainter->paintBox(gtkMenuItem, "menuitem", rect, GTK_STATE_PRELIGHT, GTK_SHADOW_OUT, style); in drawControl() 3151 … gtkPainter->paintOption(gtkMenuItem, checkRect.translated(-spacing, -spacing), state, shadow, in drawControl() 3167 … gtkPainter->paintCheckbox(gtkMenuItem, checkRect.translated(-spacing, -spacing), state, shadow, in drawControl() 3306 gtk_widget_style_get(gtkMenuItem, "arrow-scaling", &arrow_scaling, NULL); in drawControl() 3312 gtk_widget_style_get(gtkMenuItem, "horizontal-padding", &horizontal_padding, NULL); in drawControl() 3990 GtkWidget *gtkMenuItem = d->gtkWidget("GtkMenu.GtkCheckMenuItem"); in sizeFromContents() local 3991 GtkStyle* style = gtk_widget_get_style(gtkMenuItem); in sizeFromContents() 3997 gtk_widget_size_request(gtkMenuItem, &sizeReq); in sizeFromContents() [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/styles/ |
H A D | qgtkstyle.cpp | 2613 style = gtkPainter.getStyle(gtkMenuItem); in drawControl() 2692 gtkMenuItem->style, QLS("option")); in drawControl() 2708 gtkMenuItem->style, QLS("check")); in drawControl() 2771 GdkColor gdkText = gtkMenuItem->style->fg[GTK_STATE_NORMAL]; in drawControl() 2772 GdkColor gdkDText = gtkMenuItem->style->fg[GTK_STATE_INSENSITIVE]; in drawControl() 2773 GdkColor gdkHText = gtkMenuItem->style->fg[GTK_STATE_PRELIGHT]; in drawControl() 2848 extra = 2 * gtkMenuItem->style->ythickness; in drawControl() 3279 GtkWidget *gtkMenuItem = d->gtkWidget("GtkMenu.GtkCheckMenuItem"); in sizeFromContents() local 3280 GtkStyle* style = gtkMenuItem->style; in sizeFromContents() 3286 d->gtk_widget_size_request(gtkMenuItem, &sizeReq); in sizeFromContents() [all …]
|
H A D | qgtkstyle_p.cpp | 461 GtkWidget *gtkMenuItem = QGtkStylePrivate::gtk_menu_item_new_with_label("X"); in initGtkMenu() local 462 gtk_menu_shell_append((GtkMenuShell*)gtkMenu, gtkMenuItem); in initGtkMenu() 463 gtk_widget_realize(gtkMenuItem); in initGtkMenu()
|