roma0104 / gtkdialog

Automatically exported from code.google.com/p/gtkdialog
GNU General Public License v2.0
0 stars 0 forks source link

New action functions #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
New action functions.

The enable and disable action functions are very simply implemented within 
Gtkdialog and there are other similar GtkWidget methods that would be useful:

hide and show - 
http://developer.gnome.org/gtk/2.24/GtkWidget.html#gtk-widget-set-visible

activate - 
http://developer.gnome.org/gtk/2.24/GtkWidget.html#gtk-widget-activate

There might be more but I wanted to get these written down now.

Original issue reported on code.google.com by thunor...@hotmail.com on 14 Oct 2011 at 11:27

GoogleCodeExporter commented 9 years ago
Hello,
it would be really great to be able to show and hide a widget ! :)
miles still thank you for your work suberbe
François

Original comment by frafas...@gmail.com on 16 Oct 2011 at 5:29

GoogleCodeExporter commented 9 years ago
"present" might be useful - 
http://developer.gnome.org/gtk/2.24/GtkWindow.html#gtk-window-present

Original comment by thunor...@hotmail.com on 2 Aug 2012 at 4:52

GoogleCodeExporter commented 9 years ago
"resize" or maybe <action type="geometry">varname:x:y:w:h</action>, something 
like that.

Original comment by thunor...@hotmail.com on 4 Aug 2012 at 5:15

GoogleCodeExporter commented 9 years ago
show and hide action functions were added in r336.

For the most effect it'll require that container widgets accept attributes such 
as <variable> which requires updating the parser which I'm going to do now.

Original comment by thunor...@hotmail.com on 7 Aug 2012 at 8:45

GoogleCodeExporter commented 9 years ago
Regarding show and hide, the only remaining widgets that don't accept 
directives are the separators.

Original comment by thunor...@hotmail.com on 12 Aug 2012 at 4:27

GoogleCodeExporter commented 9 years ago
Activate done in r355.

Original comment by thunor...@hotmail.com on 18 Aug 2012 at 1:49

GoogleCodeExporter commented 9 years ago
"grabfocus" - 
http://developer.gnome.org/gtk/2.24/GtkWidget.html#gtk-widget-grab-focus

Original comment by thunor...@hotmail.com on 23 Aug 2012 at 11:17

GoogleCodeExporter commented 9 years ago
grabfocus done in r366.

Original comment by thunor...@hotmail.com on 25 Aug 2012 at 10:44

GoogleCodeExporter commented 9 years ago
presentwindow done in r376.

Original comment by thunor...@hotmail.com on 29 Aug 2012 at 12:22

GoogleCodeExporter commented 9 years ago
"reparent" would be awesome :D

http://developer.gnome.org/gtk-faq/stable/x635.html

Original comment by thunor...@hotmail.com on 30 Aug 2012 at 9:45

GoogleCodeExporter commented 9 years ago

Original comment by thunor...@hotmail.com on 6 Sep 2012 at 12:52

GoogleCodeExporter commented 9 years ago
The problem with something like <action>widgetprepend:src|dst</action> is that 
the destination is hardcoded into the action which doesn't make it any more 
useful than showing a hidden widget.

Original comment by thunor...@hotmail.com on 11 Sep 2012 at 12:35