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: 
Sent: Monday, December 10, 2007 11:12 AM
Subject: How to make eventbox transparent


> 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 which is a
> child of the eventbox. Right now the default background of the eventbox is
> visible through the transparent image.
> Please suggest me how to make a eventbox(which conatains a transparent 
> image
> as a child) backgorund transparent.
>
>
> thanks & regards,
> Sumit Kumar.
> ___
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list 


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.

Contact your Administrator for further information.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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 which is a
child of the eventbox. Right now the default background of the eventbox is
visible through the transparent image.
Please suggest me how to make a eventbox(which conatains a transparent image
as a child) backgorund transparent.


thanks & regards,
Sumit Kumar.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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 fine) that
can use the GTK# bindings:

http://www.sorn.net/blog/2007/05/Wildcat-COBOL-Compiler-0.1.9-Released


> Thanks
> 
> Ronaldo OTtoni
> ___
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> 

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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 been packing something else inside, in which case you
already know how to extract the label widget yourself.

> 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.

dynamically created menus are usually better implemented using
GtkUIManager and placeholders.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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 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


-

Check out GtkUiManager:

http://library.gnome.org/devel/gtk/unstable/GtkUIManager.html






  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list