gtk2
R RGtk2 gmenu: submenu after using gaction
In the next example we have a mainmenu with aData. How can we have a submenu with 开发者_运维问答aData1 and aData2 ?[详细]
2023-04-11 23:08 分类:问答how to compile gtk2.0 program with gtk3?
i have a simple program which is compiled with gtk2.0 in ubuntu.In ubuntu11.04 i installed gtk3.then i compile the same code,i got an error in the following line[详细]
2023-04-03 21:36 分类:问答Detect which key is pressed in C
I\'m trying to find a way to find out which key is pressed down in C. This will be in a graphical environment, written in GTK2, but I don\'t think the answer lies there. I think I might be able to do[详细]
2023-03-28 00:51 分类:问答Get colors of current gtk style
I use PyGTK and I want to get colors of a widge开发者_开发问答t (for example bg color), I run such a code:[详细]
2023-03-20 13:20 分类:问答How can I use GTK3 with perl?
How can I use GTK3 with Perl? Is it 开发者_如何学Calready possible?No, I don\'t believe it is possible yet although the best place to ask would be the gtk-perl-list.[详细]
2023-03-14 23:58 分类:问答How to use my own locale for pyGTK?
I\'m writing a soft using pyGTK. I\'d like to know how to force pyGTK to use my own *.mo files for GTK.[详细]
2023-03-13 23:42 分类:问答How do I find out programmatically which GTK+ theme and engine are being used?
The Murrine engine hard-codes some behavior that I need to duplicate in my own code, so I need to find out whether the Murrine engine is being used, or some other one. How can I do that? Which config[详细]
2023-03-13 10:06 分类:问答How to avoid magic Gtk2 accel_key numbers?
I\'m want an accelerator for a subroutine in my GTK application, using the Gtk2 bindings for Perl. Gtk2::AccelGroup->connect() takes an $accel_key as argument, which seems to be an int开发者_StackO[详细]
2023-03-08 13:02 分类:问答In PyGTK, what is a simple way to show a PNG file?
The following PyGTK code displays a PNG file in a window. 开发者_Python百科 Is there a simpler or better way of displaying the PNG file, like, by using a gtk.DrawingArea? For example, how do you resiz[详细]
2023-03-08 03:03 分类:问答Learning GUI programming with GTK+2 or GTK+3?
I am new to GUI programming, and I haven\'t found yet what library is best for my purpose (i want to make des开发者_开发知识库ktop environment applications, eg. docks, panels, desklets etc.)[详细]
2023-03-04 13:06 分类:问答