Re: Can change appearance with gtk_handle_box_set_shadow_type



Jean-Michel

I really appreciate your help.

How do you know this code snippet is doing anything?!?

What I mean is.... you want GTK_SHADOW_NONE.

My program has no shadow on menu without me doing
anything.  The problem is how to *get a shadow*.

If you changed GTK_SHADOW_NONE to GTK_SHADOW_OUT
would you get a visible shadow in your code?

Chris

P.S. Gnome games have GTK_SHADOW_OUT and a handle box
I believe and I like the way it looks.  This is why
I tried to get this.


On Wed, Jun 26, 2002 at 09:57:34AM +0200, Jean-Michel OLTRA wrote:
> On Tuesday 25 Jun 2002, Christian Seberino wrote:
> 
> > Any other ideas?
> menu = gtk_item_factory_get_widget(fabrique, "<Main>");
> handle_menu = gtk_handle_box_new();
> gtk_menu_bar_set_shadow_type(GTK_MENU_BAR(menu),
> 		    GTK_SHADOW_NONE);
> gtk_handle_box_set_shadow_type(GTK_HANDLE_BOX(handle_menu),
> 	            GTK_SHADOW_NONE);
> gtk_container_add(GTK_CONTAINER(handle_menu), menu);
> > ...
> 
> That is my code. It works fine since I set the shadow_type of the menu bar.
> -- 
> jean-michel
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list

-- 
_______________________________________

Dr. Christian Seberino
SPAWAR Systems Center San Diego
Code 2363
53560 Hull Street
San Diego, CA 92152-5001
U.S.A.

Phone: (619) 553-7940
Fax:   (619) 553-2836
Email: seberino spawar navy mil
_______________________________________



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]