Added drag and drop support

Fixed the size estimation
This commit is contained in:
Sergio Costas 2014-08-05 18:19:18 +02:00
parent 9739d859b7
commit 2cd17b8f45
3 changed files with 93 additions and 47 deletions

View file

@ -44,6 +44,9 @@
<property name="window_position">center</property>
<property name="icon">devede.svg</property>
<signal name="delete-event" handler="on_wmain_window_delete_event" swapped="no"/>
<signal name="drag-data-received" handler="on_wmain_window_drag_data_received" swapped="no"/>
<signal name="drag-drop" handler="on_wmain_window_drag_drop" swapped="no"/>
<signal name="drag-motion" handler="on_wmain_window_drag_motion" swapped="no"/>
<child>
<object class="GtkBox" id="box1">
<property name="visible">True</property>
@ -70,6 +73,7 @@
<property name="can_focus">False</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
<signal name="activate" handler="on_new_activate" swapped="no"/>
</object>
</child>
<child>
@ -112,6 +116,7 @@
<property name="can_focus">False</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
<signal name="activate" handler="on_wmain_window_delete_event" swapped="no"/>
</object>
</child>
</object>