-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChanges
More file actions
152 lines (139 loc) · 7.36 KB
/
Changes
File metadata and controls
152 lines (139 loc) · 7.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
Revision history for Perl extension SimpleGtk2.
0.01 Sun Apr 20 13:16:08 2014
- original version; created by h2xs 1.23 with options
-AX -b 5.4.0 -n SimpleGtk2
0.55 Sun Apr 20 2014
- add available functions and dokumentation to SimpleGtk2.pm.
Now the following widgets with their functions are present:
- GtkButton, GtkCheckButton, GtkRadioButton, GtkSpinButton
- GtkLabel, GtkFrame, GtkEntry, GtkComboBox, GtkTextView
- GtkMenuBar, GtkMenu, GtkMenuItem (separator, tearoff, radio, check, standard)
- GtkImage, GtkNotebook, GtkNotebookPage, GtkSlider, GtkScrollbar
- GtkWindow (toplevel)
- add GPL header to SimpleGtk2.pm.
0.56 Sun Apr 20 2014
- add GtkLinkButton with all needed functions and its documentation.
- fix formating in displaying source example in the documentation.
- fix bug in creation of signal handler via add_* functions because data
was unaccounted.
- update documentation about this.
0.59 Fri Apr 25 2014
- add GtkMessageDialog with all needed functions and its documentation.
0.60 Fri Apr 25 2014
- rewrite GtkMessageDialog because it was too complicated.
- update pod documentation
0.61 Sa May 03 2014
- remove Type parameter in new_window() because popup not supported.
- add simple type of show_msg_dialog:
show_msg_dialog(<dialog_type>, "<message_type>", "<message_text>")
- add some examples:
- menubar_simple.pl
- msg_dialog_simple.pl
- notebook_simple.pl
0.62 Tue Nov 18 2014
- add gettext support
- add size scaling - changing the font size change the size and position
of the widgets automagically
- add displaying the version in the title of the main window without
destroying the translation
- add an optional statusbar to the main window
- fix bug in _on_changed_update() that the reference and not the widget
itself will be used
- update show_error() and show_message() to work correctly now and print
out understandable messages
- split show_all() to show(): show window with all widgets without run Gtk2->main
and show_and_run(): show window with all widgets anf start Gtk2->main
This is important if lib will be used in FVWM modules
- fix bug in add_signal_handler() and add_msg_dialog() so that all references
can be used and not the main window only
- fix bug in get_object(): wrong usage of ref
- add exist_object(): checks if object xyz exist
- add possibility in add_tooltip() to wrap long tooltip text with '\'
- add filechooser_button and filechooser_dialog + needed functions
- add font_button and fontselection_dialog + needed functions
- change get_title($@) to get_title($$)
- fix bug in is_active() because get_active() is needed and provides '' on
uncheck and not 0
- add error message to get_group()
- remove useless code in set_title()
0.63 Wed Dec 10 2014
- add a translate function to translate separated parts in strings like
translate("bla") . $number . translate("oha");
- add to tooltips and translate function that text can be wrapped in script
with a backslash
- fix bug that no frame could be added to a notebook page
- add to textview the possibility to specify a text and the wanted font
0.64 Tue Dec 30 2014
- improve scaling of the GUI if font size has changed by the user. Using
now the char width instead of the font value
- add font change support for text in some widgets:
- all supported buttons except font, file chooser and spin button
- label
- frame
- entry
- notebook page
- add some additional convert functions for font: string <-> array
- add color change support (name or hex value) for text in some widgets:
- all supported buttons except font, file chooser and spin button
- label
- frame
- notebook page
- add stock icon support in image
- fix typo in set_title()
- clean up comments in source
- clean up TODO
0.65 Thu Apr 21 2015
- add page to add_spin_button().
- add the possibility to use an image object in add_immage().
- add the possibility to use show_msg_dialog() as a standalone message dialog
without a parent window.
- add new widget GtkStatusbar with or without a show-timeout. Other specials:
clear the complete stack or get message-id for a statusbar text or vice versa.
- add support for <keyname> => <value> in get_value().
- update README and clean TODO again.
0.66 Fri Jun 14 2015
- change some show_error() to internal_die() for better error handling.
- add a '_' infront of internal functions.
- fix missing param deletes in set_value().
- reorganize functions depending on the listing on developer.gnome.org/gtk2/stable.
- exchange tabs with spaces.
- add new widget GtkDrawingArea with add_drawing_area() and initial_draw() - needed
because drawing must initialized before gtk2->show().
- remove _clear_sb_after_timeout().
- add new widget GtkTreeview with List (based on Gtk2::Ex::Simple::List) and Tree
(based on Gtk2::Ex::Simple::Tree).
- fix bug in get_value() that undefs will used correctly.
- remove hash entry deletion in set_sb_text() after timeout - not needed.
- remove in add_text_view() a double set of $object->{textview}.
- update README and clean TODO.
- add new examples:
- file_chooser_simple.pl
- font_button_simple.pl
- standalone_msg_dialog_simple.pl
- statusbar_simple.pl
- add 'use strict' to all examples.
0.67 Mo Jun 15 2015
- change documentation from perldoc to naturaldocs to get a searchable documentation (dhtml).
- remove get_container and add_to_container from EXPORT because these are internal functions.
- change their names to _get_container and _add_to_container.
- add file for filename and gname for groupname to _extend().
- extend type check which widget doesn't have a tooltip in _set_commons(), get_tooltip() and set_tooltip().
- extend type check which widgets can't hide/show in hide_widget() and show_widget().
- fix bug in get_widget() that the real widget reference is returned and not the container.
- add new function _get_ref() for internal use to get the first level widget/container of an SimpleGtk2 widget.
like GtkViewport or GtkScrolledWindow.
- move get_group() into get_value().
- remove set_group() because it's not possible(?) to create a Gtk::Group object :-/.
- extend get_fontsize(), get_fontfamily() and get_fontweight() that they can use also within
SimpleGtk2 and not only as standalone functions.
- set 'no timeout' to 1 in add_statusbar() so that this is equal to set_sb_text().
- add new widget GtkSeperator - a horizontal or vertical separator.
- remove the very very long perldoc appendix from the source and add the dhtml documentation.
0.68 Thu Apr 21 2016
- add Gtk2::Ex::Simple::List and Gtk2::Ex::Simple::Tree to the project because both libraries
mostly not available in common linux distributions but needed for treestore and liststore
- fix some bugs in SimpleGtk2:
- in is_sensitive() that name of a widget appears in the correct format.
- in get_value() that if iter from treeview is undef no error occur.
- in get_image() that the pixbuffer returns if wanted.
- in set_image() that a new image will be shown