Theming an application

2005-10-03 Thread Andrew Shafer
I'm new to this tool kit and I'm stumbling along so any tips will be greatly appreciated. I want to apply a GTK theme to an application. I'm to the point where I understand it has something to do with gtkrc files, but I'm not clear on exactly how to code it up. I want to control the theme on an

Re: Theming an application

2005-10-03 Thread Andrew Shafer
Awesome What can you do to switch themes while the application is running? On Mon, 2005-10-03 at 18:25 +0100, John Cupitt wrote: > Hi Andrew, > > On 10/3/05, Andrew Shafer <[EMAIL PROTECTED]> wrote: > > Can anyone provide an example of code that sets the theme on an >

X render and theme engines

2005-10-27 Thread Andrew Shafer
Greetings, Is there any good documentation on GTK theme engines? I want a 'pixbuff like' theme engine that will push the majority (all?) of the work to the X server. Has any work been done in this area? Any guidance, comments or questions are welcome. Regards, Andrew Shafer Rea

Re: X render and theme engines

2005-10-27 Thread Andrew Shafer
wrote: > On 10/27/05, Andrew Shafer <[EMAIL PROTECTED]> wrote: > > > > I want a 'pixbuff like' theme engine that will push the majority (all?) > > of the work to the X server. > > The 'sapwood' theme engine derived from the pixbuf engine does exact

drag and drop

2005-10-31 Thread Andrew Shafer
Can anyone recommend resources for getting code samples or relevant reading on drag and drop using GTK besides functions defined in the GTK+ reference manual? (http://developer.gnome.org/doc/API/2.0/gtk/gtk-Drag-and-Drop.html) Regards ___ gtk-list m

shaped buttons

2005-11-02 Thread Andrew Shafer
Can I get the gdkwindow from a button? Or what is the best way to make an arbitrary shaped button? ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

backgroup image on a window

2005-11-03 Thread Andrew Shafer
How can one draw a background image into a window and then add widgets on top of the image? ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

multiple top level windows??

2005-11-07 Thread Andrew Shafer
any tips with this approach or is there some other a method to recommend? Thanks Andrew Shafer ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

draging two windows

2005-11-07 Thread Andrew Shafer
you drag the first window around and pane_ snaps to it when you start a second drag. Anyone do this before? Is there a signal or event I can use to move pane_ in sync? Thanks, Andrew Shafer Application Developer Realm Systems Inc. www.realmsys.com

Dragging windows together

2005-11-08 Thread Andrew Shafer
Are there GTK or GDK level functions what will let me drag two top level windows together? I have two toplevel windows without decorations and I want to be able to drag them using a grip on one so they maintain the same relative position. I'm looking at doing it building up XEvents, but I'd real

private tool tip?

2005-11-11 Thread Andrew Shafer
What is the behavior for a private tool tip? Thanks ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

can tooltips use markup?

2005-11-17 Thread Andrew Shafer
Can tool tips use mark up? If so, how is it enabled? I want to make something similar to the windows you get when you hover over a buddy in the gaim buddy list. Does any one know what does that? I assumed it was tool tips. Thanks, Andrew Shafer

button relief in prelight and active state

2005-11-17 Thread Andrew Shafer
Can I control the relief of buttons when they are in PRELIGHT or ACTIVE states? How? Thanks Andrew ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

gtk_widget_shape_combine_mask and gdk_window_set_child_shapes

2005-11-27 Thread Andrew Shafer
sired behavior. I want to avoid doing this because it would be a royal pain to update the mask for any little change. Any suggestions, ideas, or experience will be welcomed :) Regards, Andrew Shafer ___ gtk-list mailing list gtk-list@gnom

Re: gtk_widget_shape_combine_mask and gdk_window_set_child_shapes

2005-11-29 Thread Andrew Shafer
Any one? Any one? Bueller? On Sun, 2005-11-27 at 16:57 -0700, Andrew Shafer wrote: > Anyone have experience using gdk_window_set_child_shapes? or > (merge_child_shapes) > > I don't really understand how it works. > > The effect I want is to have a top level window w

Double buffering while moving in a 'fixed'

2005-12-12 Thread Andrew Shafer
ttle flicker as you would expect if you aren't double buffering. Is there some strategy that would allow me to smooth out the drawing while still retaining the individual GdkWindows on my components and children so they can catch events? Any ideas? Anyone ever played with anything like th

Testing your GUI

2005-12-27 Thread Andrew Shafer
ts for the purpose of testing? Thanks, Andrew Shafer ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

button relief on mouseover and click

2006-01-23 Thread Andrew Shafer
I want buttons to have no relief on a mouse over, only the background should change. I set the relief, which only effects the NORMAL state. I also want no relief in PRELIGHT and ACTIVE. Is there a way to accomplish this either within the code or using rc files? Thanks

gdk_notify_startup_complete

2006-02-09 Thread Andrew Shafer
Does anyone understand how this works? I want to be able to change the cursor on a launcher program until the launchee finishes mapping its window. I'm looking for a code example or some direction to how to approach this. (Or anyone who can offer insight into libstartup-notification will be

gdk_notify_startup_complete

2006-02-09 Thread Andrew Shafer
Does anyone use this? It doesn't seem to be working. I'm monitoring X atoms two different ways and none of my gtk apps appear to broadcast _NET_STARTUP_INFO with remove: ID=# like I would expect them to. I am getting them from other applications and if I write simple programs to send the at

Re: gdk_notify_startup_complete

2006-02-10 Thread Andrew Shafer
Am I not asking the right questions? or not asking the questions right? On Thu, 2006-02-09 at 19:20 -0700, Andrew Shafer wrote: > Does anyone use this? > > It doesn't seem to be working. > > I'm monitoring X atoms two different ways and none of my gtk a

Re: gdk_notify_startup_complete

2006-02-10 Thread Andrew Shafer
should be DESKTOP_LAUNCH_ID, but whatever) On Fri, 2006-02-10 at 09:23 -0700, Andrew Shafer wrote: > Am I not asking the right questions? or not asking the questions right? > > On Thu, 2006-02-09 at 19:20 -0700, Andrew Shafer wrote: > > Does anyone use this? > > > > It