Re: How to use casting in GTK+ ?

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

 



Dipak G Patil <dippatil@xxxxxxxxxx> writes:

> I have created a window using,
>
> GtkWidget* gtk_window_new(GtkWindowType type) ;
>
> Now I want to show the window maximized so I used,
> void  gtk_window_maximize(GtkWindow *window);
>
> So I used macro GTK_WINDOW(window)where window is of type GtkWidget *
> but it compiles executes but no output.
>
> Could you tell me where I am wrong ?

Not without some source code!  At a guess, you haven't shown the
widget.

> Also if I have GtkWidget * object how will I use gdk_* APIs
> What is the right way of casting..?

What do you actually want to achieve?


-- 
Roger Leigh

                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux