Re: Button in Gtk

2008-02-21 Thread Brian J. Tarricone
Ajax John wrote: > > I want to know what is the difference does it make when a Button is > decleared as > GtkWidget *button; > GtkButton *button; > > I'm confused which one to used in my program. > In simple words when should I declare my button as Gtkwidget * and as > GtkButton *. There's no di

Button in Gtk

2008-02-21 Thread Ajax John
Hi All, I want to know what is the difference does it make when a Button is decleared as GtkWidget *button; GtkButton *button; I'm confused which one to used in my program. In simple words when should I declare my button as Gtkwidget * and as GtkButton *. Regards, Ajax.

Re: how to hide close button in gtk dialog

2005-08-09 Thread Calum Benson
On Tue, 2005-08-09 at 09:56 +0200, Gus Koppel wrote: > It's common convention that title bar close buttons of windows do a > cancel-close. Especially if inside the window there are both "Cancel" > and "OK" buttons as well. It may be convention, but it still confuses people. The HIG would love to

Re: how to hide close button in gtk dialog

2005-08-09 Thread Gus Koppel
Yogesh M wrote: > found it, sometimes it is neccessary to avoid > confusion. > > for example in a dialog i have a cancel button, now if > the window show a close button, it is a confusion that > whether the window closes or the cancel activates or both. It's common convention that title bar clos

Re: how to hide close button in gtk dialog

2005-08-08 Thread The Saltydog
On 8/8/05, Yogesh M <[EMAIL PROTECTED]> wrote: > found it, sometimes it is neccessary to avoid > confusion. > > for example in a dialog i have a cancel button, now if > the window show a close button, it is a confusion that > whether the window closes or the cancel activates or > both. You can wo

Re: how to hide close button in gtk dialog

2005-08-07 Thread Yogesh M
found it, sometimes it is neccessary to avoid confusion. for example in a dialog i have a cancel button, now if the window show a close button, it is a confusion that whether the window closes or the cancel activates or both. --- The Saltydog <[EMAIL PROTECTED]> wrote: > On 8/7/05, Yogesh M <[EM

Re: how to hide close button in gtk dialog

2005-08-07 Thread The Saltydog
On 8/7/05, Yogesh M <[EMAIL PROTECTED]> wrote: > when i create a new dialog, it comes with close button, i am talking about > the button in the title bar. how to disable/remove it You should NEVER play with this. It is against Gnome Human Interface Guidelines: http://developer.gnome.org/projects

Re: how to hide close button in gtk dialog

2005-08-07 Thread Luca Cavalli
On Sun, 2005-08-07 at 08:27 -0700, Yogesh M wrote: > how to hide close button in gtk dialog? > > I think you should use: http://developer.gnome.org/doc/API/2.0/gdk/gdk-Windows.html#gdk-window-set-functions but it seems that few WMs honour

Re: how to hide close button in gtk dialog

2005-08-07 Thread Yogesh M
when i create a new dialog, it comes with close button, i am talking about the button in the title bar. how to disable/remove it The Saltydog <[EMAIL PROTECTED]> wrote:On 8/7/05, Yogesh M wrote: > > how to hide close button in gtk dialog? > What do you mean by "hide&quo

Re: how to hide close button in gtk dialog

2005-08-07 Thread The Saltydog
On 8/7/05, Yogesh M <[EMAIL PROTECTED]> wrote: > > how to hide close button in gtk dialog? > What do you mean by "hide"? If you don't want the close button, just don't create it, if you need to set it to "grey" (unsensitive), y

how to hide close button in gtk dialog

2005-08-07 Thread Yogesh M
how to hide close button in gtk dialog? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ gtk-app-devel-list mailing list gtk-app-devel-list