Re.: GtkDrawingArea size request

2017-06-22 Thread Rúben Rodrigues
Solved. Someone have a example of how to create a custom widget with cairo in C? Thanks Mensagem original Assunto: Fwd: GtkDrawingArea size request De: Rúben Rodrigues Para: gtk-app-devel-list@gnome.org CC: Someone received my question? Thanks Mensagem

Re: Header bar: Keyboard accessibility?

2017-06-22 Thread Michael Torrie
On 06/22/2017 12:03 PM, Yuri Khan wrote: > And now for the title question. In this latter scenario, how does the > user access the application menu without having to use a pointing > device? Is every application supposed to implement that? As a > developer, how would I go about that? As a user,

Re: Combobox disable item

2017-06-22 Thread Eric Cashon via gtk-app-devel-list
Hi Mike, What part of the combo box are you trying to disable? If you want to filter rows or columns you can set up a tree model filter to do so. Maybe something like the following? Eric /* gcc -Wall combo_filter1.c -o combo_filter1 `pkg-config --cflags --libs gtk+-3.0` Tested

Re: Gtk+2 Textview, (editor) compiled on Windows and 'i' interpreted as 'ctrl+i' (indent)?

2017-06-22 Thread David C. Rankin
On 06/21/2017 05:52 AM, David C. Rankin wrote: > Now all I have to do is figure out how to fix > gtk_source_language_manager_set_search_path () on windows so it can find my > sourceview language files in > "C:\opt\gtk2\share\gtksourceview-2.0\language-specs" The search paths problem was the

Re: GtkDrawingArea size request

2017-06-22 Thread Eric Cashon via gtk-app-devel-list
Hi Ruben, You might consider allowing the gauge to expand with the window size. This makes the gauge a lot more flexible. When drawing a gauge it is useful to get a general coordinate drawing on screen that you can check your gauge drawing with. Both cartesian coordinates and radial

Header bar: Keyboard accessibility?

2017-06-22 Thread Yuri Khan
Hello everybody. I have heard of desktop environments that display the application menu in a dedicated place (GNOME Shell, OS X). Presumably, in that case the desktop environment provides a key that the user can press to open the application menu. I am not on such a system. That means every GTK

GtkDrawingArea size request

2017-06-22 Thread Rúben Rodrigues
Hi, I create a drawing area to draw a circular gauge with cairo. GtkWidget *drawing_area = gtk_drawing_area_new (); gtk_widget_set_size_request (drawing_area, 100, 100); gtk_box_pack_start (GTK_BOX(gtk_builder_get_object(builder, "box30")),drawing_area,FALSE,TRUE,0); The problem is

Combobox disable item

2017-06-22 Thread Mike Martin
Hi Is it possible to disable an item in a combobox? I cant find anything about this, set_sensitive only seems to apply to either cell-renderer or widget thanks Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org