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

Re: hi, gtk dialogs



On Thu, 2001-08-30 at 23:34, PCc0d3r wrote:
> hi, this is my first message to the list.
> i want to ask a question about gtk dialogs (not gnome dialogs)
> 
> i can create a gtk dialog like that
> GtkWidget *dialog;
> dialog = gtk_dialog_new();
> 
> how can i change the title of the dialog.
> i can add message to vbox and buttons to action_area. but i cannot change the title
> 
> can u help me?

If I recall correctly, a GtkDialog is a subclass of GtkWindow which hav
a method for setting the title, ie. you would write

gtk_window_set_title (GTK_WINDOW (dialog), "k001 app");

or something like that.

	/mailund
 
-- 

I used up all my sick days, so I'm calling in dead.

PGP signature



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