Re: [Anjuta-list] Problems with anjuta 1.2.0 and gtk+
- From: Ulrich Gehring <ufg hosengummi de>
- To: anjuta_ml <anjuta-list lists sourceforge net>
- Subject: Re: [Anjuta-list] Problems with anjuta 1.2.0 and gtk+
- Date: Fri Dec 12 14:10:01 2003
Hello Jean-Luc,
> Hello,
>
> I have problems with a small gtk program:
>
> int main (int argc, char *argv[])
> {
> GtkWidget *window;
> ..
> ..
> window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
> gtk_window_set_title (window, RAW_CANON_TITLE);
> ...
>
---8<---------------------------------------------
I have Anjuta 1.2.0 on Slackware 9.1 with Dropline-Gnome.
When I make a "Gtk2.0-Project" the interface.c looks like this:
...
GtkWidget*
create_window1 (void)
{
GtkWidget *window1;
window1 = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window1), "window1");
gtk_window_set_default_size (GTK_WINDOW (window1), 500, 400);
/* Store pointers to all widgets, for use by lookup_widget(). */
GLADE_HOOKUP_OBJECT_NO_REF (window1, window1, "window1");
return window1;
}
The Programm runs good.
A "Gtkmm2.0-Project" runs good too.
Perhaps it helps you.
Greetings
Ulrich
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]