=?UTF-8?B?QVc6IFdHOl9Ub29sYmFyYnV0dG9uX25hY2hfZXJzdGVtX0JldMOk?= =?UTF-8?B?dGlnZW5faW5hICAga3Rpdg==?=



Hallo,
first: why the archive gtk-app-devel-list/2006-June doesn't work?

I have start the app under gnome destop, it also doesn't work. I have
changed the source code to use the new functions for toolbar

            toolItem = gtk_tool_button_new(iconw,
                g_locale_to_utf8( text, -1, NULL, NULL, NULL));
            g_signal_connect(G_OBJECT(toolItem), "clicked",
                      G_CALLBACK(m_gt_button_press), xe);
            tTip = gtk_tooltips_new();
            gtk_tool_item_set_tooltip(toolItem, tTip, 
                g_locale_to_utf8( tooltip, -1, NULL, NULL, 
                                  NULL ), "Private");
            gtk_toolbar_insert((GtkToolbar *)toolbar, toolItem, -1);
            gtk_widget_show(iconw);
            gtk_widget_show((GtkWidget *)toolItem);
I can click the toolbarbutton, first time the callback-function is called,
but if I don't move the mouse from the button and click it, the callback
isn't called.
An previous problem - colors in GtkEntry - I have solved with an empty file
.no-atrc-to-tgkrc-mapping in my home-dir. See gtk-app-devel-list/2006-May
"color in gtkentry"
Brigitte

-----UrsprÃngliche Nachricht-----
Von: ensonic [mailto:ensonic hora-obscura de]
Gesendet: Mittwoch, 28. Juni 2006 15:49
An: Vallario Brigitte
Cc: gtk-app-devel-list gnome org
Betreff: Re: WG:_Toolbarbutton_nach_erstem_BetÃtigen_ina ktiv


hi,

at first this list is english :)

regarding the problme, can it be suses qt theme engine for gtk? what
happens if you start a gnome desktop and start your app there.

Stefan

On 12:54:32 pm 27/06/2006 Vallario Brigitte <brigitte vallario ases de>
wrote:


  -----UrsprÃngliche Nachricht-----
 Von:     Vallario Brigitte
 Gesendet:    Donnerstag, 1. Juni 2006 08:11
 An:    'suse-kde-unsubscribe suse com'
 Betreff:    WG: Toolbarbutton nach erstem BetÃtigen inaktiv



  -----UrsprÃngliche Nachricht-----
 Von:     Vallario Brigitte
 Gesendet:    Mittwoch, 31. Mai 2006 13:13
 An:    'suse-kde suse com'
 Betreff:    Toolbarbutton nach erstem BetÃtigen inaktiv

 Hallo, wer kann helfen?

 Seit der Version SuSE 9.3 mit KDE funktionieren die Toolbarbuttons
 nicht mehr richtig. Wenn ich z.B. bei einer Funktion
 "WeiterblÃttern" das erste mal mit der Maus draufgedrÃckt habe,
 muss ich mit der Maus erst wieder wegfahren - vom Button runter
 bewegen - und danach wieder auf den Button, damit ich diesen
 auslÃsen kann.
 So erzeuge ich die Toolbar im Hauptfenster:
     toolbar = gtk_toolbar_new();
            gtk_toolbar_set_orientation( GTK_TOOLBAR(toolbar),
                    GTK_ORIENTATION_HORIZONTAL );
     gtk_toolbar_set_style( GTK_TOOLBAR(toolbar), GTK_TOOLBAR_ICONS
         ); gtk_container_set_border_width( GTK_CONTAINER(toolbar),
 1 );
 Die Icons lade ich wie folgt hinein:
      iconp = gdk_pixbuf_new_from_file( icon, &err );
     if(err == NULL)
         {
         iconp = gdk_pixbuf_add_alpha (iconp,1,192,192,192) ;
         iconw = gtk_image_new_from_pixbuf (iconp) ;
     }
      button = gtk_toolbar_append_item( GTK_TOOLBAR(toolbar),
                  g_locale_to_utf8( text, -1, NULL, NULL, NULL ),
                  g_locale_to_utf8( tooltip, -1, NULL, NULL, NULL ),
              "Private",
          iconw,
         GTK_SIGNAL_FUNC(m_gt_button_press));

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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