[Gtk-sharp-list] What's happening? Glade bug?
Antonio Gutiérrez Mayoral
agutierr@gsyc.escet.urjc.es
Wed, 24 Nov 2004 09:23:59 +0100
Sure:
This piece of code from glade, defining the toolbar:
<widget class="GtkToolbar" id="mainToolbar">
<property name="border_width">2</property>
<property name="height_request">40</property>
(...)
The child button in toolbar:
<child>
<widget class="GtkToolButton" id="toolbarAddButton">
<property name="visible">True</property>
(...)
The signal clicked:
<signal name="clicked" handler="OnMenuFileAddWorkingDirectoryActivate"
last_modification_time="Sat, 20 Nov 2004 12:41:44 GMT"/>
</widget>
And my C# code:
public void OnMenuFileAddWorkingDirectoryActivate(object o,
EventArgs args)
{
workingdirectorydialog = new WorkingDirectoryDialog();
workingdirectorydialog.Show();
}
This code works fine for main menu bar... :-(
El mié, 24-11-2004 a las 00:30 +0000, Paulo Pires escribió:
> Can I/we see some code? :)
>
> Paulo Pires
>
> Ter, 2004-11-23 às 23:27 +0100, Antonio Gutiérrez Mayoral escreveu:
> > Hello List!
> >
> > I have the next problem: I have defined a toolbar with some buttons on
> > glade. This buttons has events asociated with clicked signal... When I
> > write my C# code, I code the autoconnect method with .glade xml file...
> > but... nothing happens when I click the button.
> >
> > In fact, If I connect the buttons with clicked signal on glade, to the
> > events... but I dont write these events on my C# code... the exception
> > not handler asociated with this situation.... is not raised.
> >
> > What's happening?? How I can solve it?? Glade bug ?? :-(((
>
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
--
Antonio Gutiérrez Mayoral
Escuela Superior de CC Experimentales y Tecnología
Universidad Rey Juan Carlos
web: http://gsyc.escet.urjc.es/~agutierr