How to implement a image thumbnail container widget?

2007-12-09 Thread Bin Chen
Hi, I want to implement a widget like a image thumbnail container, which contains a lot of icons in it, and it is scrollable. Is there any existing examples to reference? Thanks. Bin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

take a snapshot of a window

2007-12-09 Thread Binary Chen
Hi, I just want to develop a feature to take a snapshot of a gtk widget, is it easy to do? It should be saved into a pixbuf. Thanks. Bin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

changing menu item labels

2007-12-09 Thread Dr. Michael J. Chudobiak
Hi all, Is there an easy way to dynamically change the label associated with a menu item? It want to implement a menu containing a fixed number of used-defined scripts with user-defined names. I would like the user-defined names to appear in the menu. - Mike

Re: changing menu item labels

2007-12-09 Thread Lance Dillon
- Original Message From: Dr. Michael J. Chudobiak [EMAIL PROTECTED] To: gtk-app-devel-list@gnome.org Sent: Sunday, December 9, 2007 9:18:15 AM Subject: changing menu item labels Hi all, Is there an easy way to dynamically change the label associated with a menu item? It want to

Re: changing menu item labels

2007-12-09 Thread Emmanuele Bassi
On Sun, 2007-12-09 at 09:18 -0500, Dr. Michael J. Chudobiak wrote: Hi all, Is there an easy way to dynamically change the label associated with a menu item? gtk_bin_get_child (GTK_BIN (menu_item)) will yield the child widget, which will be a GtkLabel most of the times, unless you have

Re: changing menu item labels

2007-12-09 Thread Dr. Michael J. Chudobiak
Emmanuele Bassi wrote: scripts with user-defined names. I would like the user-defined names to appear in the menu. dynamically created menus are usually better implemented using GtkUIManager and placeholders. Thanks, that's the clue I needed! - Mike

Re: Developer COBOL + GTK

2007-12-09 Thread Michael L Torrie
Ronaldo Ottoni wrote: Hi, I am a developer of the COBOL language and would like to know if there is possibility of using the API GTK with the COBOL language, if there is a possibility, I would like to receive assistance from members. There is a COBOL .NET compiler (would run on mono in linux

How to make eventbox transparent

2007-12-09 Thread sumit kumar
Hi all, I have a problem related to eventbox. I am adding a transparent image to eventbox and that eventbox i am adding to main window which has a background image set. i want to make the eventbox background transparent so that we can see the main window background through the transparent image

Re: How to make eventbox transparent

2007-12-09 Thread Abirami.T
I think you can try using gtk_event_box_set_visible_window () - Original Message - From: sumit kumar [EMAIL PROTECTED] To: gtk-app-devel-list@gnome.org Sent: Monday, December 10, 2007 11:12 AM Subject: How to make eventbox transparent Hi all, I have a problem related to eventbox. I