IP address input

2006-12-20 Thread beast
: [ ] . [ ] . [ ] . [ ] --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

default button

2006-12-19 Thread beast
focus). What is the correct flag, grab_focus or grab_default? Thanks. --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Gtk2::Assistant [was Re: wizard style program

2006-12-15 Thread beast
and perl-Gtk2 installed. --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

wizard style program

2006-12-14 Thread beast
example? Many thanks. --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

combo box

2006-12-14 Thread beast
Is it required to use set_active($index) after creating a ComboBox? Isn't that index=0 is the default? Without activated, it drop down will be displayed but no text was printed. my $combo = Gtk2::ComboBox-new_text; $combo-append_text(No); $combo-append_text(Yes); #$combo-set_active(0); --beast

Re: wizard style program

2006-12-14 Thread beast
muppet wrote: On Dec 14, 2006, at 3:42 AM, beast wrote: I create wizard style program, and this give me headache of keeping the state of previous page as well as repetitives UI. With web applications, this can be implemented using session, any idea how this can be implemented using desktop

3d image border

2006-12-13 Thread beast
I have an image and I would like it to have 3D border ( etched-in?). Which widget suitable for this purpose? Thanks. --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: 3d image border

2006-12-13 Thread beast
Emmanuele Bassi wrote: On Wed, 2006-12-13 at 17:43 +0700, beast wrote: I have an image and I would like it to have 3D border ( etched-in?). Which widget suitable for this purpose? Gtk2::Frame with a Gtk2::Image embedded in? Not quite. The image should not be embossed, but much

need spacer

2006-12-13 Thread beast
-set_homogeneous(FALSE); my $spacer = Gtk2::Label-new(); $spacer-set_size_request(0,8); $hbbox-add($back); $hbbox-add($next); $hbbox-add($spacer); $hbbox-add($cancel); --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org

DEL as an accelerator

2006-06-12 Thread Beast
Hi, How do I use DEL and ENTER as an accelerator key? Presently I use: ... _Delete = { accelerator = 'Del'}, ... But its not works, whilst using 'F8' is fine. --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org

simple question

2006-05-30 Thread Beast
How do I get last(max) index of SimpleList data? ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: error dialog not centered

2006-03-19 Thread Beast
muppet wrote: On Mar 17, 2006, at 11:29 PM, Beast wrote: But these 2 questions is still unanswered. 2. How to make the OK button centered (presently it right alignment)? 3. How to remove the icon on the OK button? Don't. The alignment of buttons and contents of common buttons are things

Re: error dialog not centered

2006-03-19 Thread Beast
preference but centered makes balance spaces, and i guess everybody will agree on this :) Regarding icon, icon is good as long as its not overused. I saw that Linux (or GNOME) application are using icons everywhere, it makes application less elegant than in windows. -- --beast

Re: error dialog not centered

2006-03-17 Thread Beast
Beast wrote: I have these following code: ... sub cb_ok { my $self = shift; ... my $dialog = Gtk2::MessageDialog-new($self, 'modal', 'error', 'ok', $message); $dialog-set_position('center-on-parent'); } But it behave like I wanted. It should be: but it doesn't behave as i

error dialog not centered

2006-03-16 Thread Beast
, but seems on top-left of screen. 2. How to make the OK button centered (presently it right alignment)? 3. How to remove the icon on the OK button? -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo

glade is preferred?

2006-03-13 Thread Beast
This might little oot for this list. Is creating UI with glade is now the preferred way to make GUI application using perl-gtk (or any other gtk binding language)? what is the pros and cons? Note: I never been using glade previously. -- --beast

widget reuse

2005-12-30 Thread Beast
598 (gtk_table_attach): assertion `child-parent == NULL' failed at TIA -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: what's the name?

2005-12-29 Thread Beast
Torsten Schoenfeld wrote: On Wed, 2005-12-28 at 13:02 +0700, Beast wrote: What is the name of this widget? basically it allow user to type nay number or using scroll arrow (up dan down) The semi-new widget gallery is pretty handy if such a question comes up: http://developer.gnome.org/doc

widget as label

2005-12-28 Thread Beast
Is it posible to use widget as a label for radiobutton? any example? (*) Forever ( ) Duration [ spin button] minutes -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Frame size

2005-12-27 Thread Beast
. -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Password entry

2005-08-09 Thread Beast
How do I create password entry? (ie. same like Gtk2::Entry but every chars displayed as *) Thanks. -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: globaly remove icon

2005-08-09 Thread Beast
Torsten Schoenfeld wrote: On Tue, 2005-08-09 at 15:20 +0700, Beast wrote: Suppose I want to remove all stock icon next to menu and button for all applications, is it possible? Use the Menus Toolbars preference thingy in GNOME. This isn't related to Gtk2-Perl in any way. It is from gtk

Re: Remove spaces in dialog window

2005-08-04 Thread Beast
{ my ($self, $fullname) = shift; # this doesn't work #$self-get_widget('name')-set_text($fullname); } -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: widget name (was Re: Remove spaces in dialog window)

2005-08-04 Thread Beast
muppet wrote: On Aug 4, 2005, at 6:37 AM, Beast wrote: muppet wrote: my $self = $class-SUPER::new(...); bless $self, $class; Sorry, newbie question: How do I set text $name from other subroutine? Need more context, but i'll try to guess. In the context of your reply

Re: Remove spaces in dialog window

2005-08-04 Thread Beast
muppet wrote: If you don't want the row of buttons at the bottom of the window, then you don't actually want a Gtk2::Dialog. Thats fine. I can live with little extra space, it doesn't hurt anyway :) Thanks! -- --beast ___ gtk-perl-list mailing

Re: mnemonic labels (was Re: Remove spaces in dialog window)

2005-08-04 Thread Beast
instead of just new(); [EMAIL PROTECTED] rpm -qa |grep perl-Gtk perl-Gtk2-1.080-1.1.fc3.rf perl-Glib-1.080-1.1.fc3.rf -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Entry width in pixel

2005-08-03 Thread Beast
I would like to thanks to everybody for the great responses. I only found a way to set Gtk2::Entry, set_width_chars(n_chars), is it possible to set width in pixel? TIA. -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http

Remove spaces in dialog window

2005-08-03 Thread Beast
and the window border. However, it's not happen with in the top, which no space between border and first widget. How do I remove the additional spaces? +-+ | [widget A] | | | [widget B] | there is additional spaces here... +-+ -- --beast

Add spaces

2005-07-29 Thread Beast
In general, how do I add spaces (blank spaces) between the widget? For example, in HBox i can use $hbox-set_spacing(10), it will add 10px space in the left and right, what I need is add space in the left only. -- --beast ___ gtk-perl-list

vertical align

2005-07-22 Thread Beast
The default placement of Gtk2::Label objects in Gtk2:HBox is left and centered (vertical). How do I make vertical align to top? -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

dialog box outside its parrent window

2005-07-21 Thread Beast
I'm trying to use separate window by subclassing Gtk2::Dialog. However, the placement is random, mostly it 'outside' of its parrent window. Is there any way to make this dialog box appear 'inside' parent window (something like MDI)? -- --beast

radioitem

2005-07-19 Thread Beast
{ print Radio Two\n;}, callback_action = 11, item_type = 'RadioItem', groupid = 1 }, --- It will call both One and Two when togle the selection. TIA -- --beast ___ gtk-perl-list mailing list gtk-perl-list

Re: row selected

2005-07-18 Thread Beast
A. Pagaltzis wrote: * Beast [EMAIL PROTECTED] [2005-07-18 07:15]: What is the correct signal when user click (not double clicked) one row in TreeView or SimpleList? Uhm, the docs for TreeView list a “row-activated.” Didn’t you find that? Doesn’t that do what you want? It only works when

Cursor is different after set by gtk

2005-07-18 Thread Beast
}-set_cursor($self-{normcur}); ... === After setting cursor with GDK_LEFT_PTR, the cursor is different than previous cursor. It turn into black left_pointer which should be white left_pointer. What could be the problem? -- --beast ___ gtk-perl-list

OT: actual path

2005-07-18 Thread Beast
Hi, From where I can find out the actual location of GTK_STOCK icons and cursors? TIA -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: Cursor is different after set by gtk

2005-07-18 Thread Beast
be considered rude. Set the cursor on your own window, and reset it to “undef” when you are done (which means the parent window’s cursor should be used). That would solve your problem most of the time. Example please :-) I only have one window which means it also the root window. -- --beast

Re: row selected

2005-07-18 Thread Beast
A. Pagaltzis wrote: * Beast [EMAIL PROTECTED] [2005-07-18 08:20]: A. Pagaltzis wrote: Uhm, the docs for TreeView list a “row-activated.” Didn’t you find that? Doesn’t that do what you want? It only works when row is _double clicked_, what I want is when user just clicked the row. Ah

Re: row selected

2005-07-18 Thread Beast
A. Pagaltzis wrote: * Beast [EMAIL PROTECTED] [2005-07-18 08:20]: A. Pagaltzis wrote: Uhm, the docs for TreeView list a “row-activated.” Didn’t you find that? Doesn’t that do what you want? It only works when row is _double clicked_, what I want is when user just clicked the row. Ah

row selected

2005-07-17 Thread Beast
What is the correct signal when user click (not double clicked) one row in TreeView or SimpleList? TIA. -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

When to call show()?

2005-07-15 Thread Beast
-- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

row limit of SimpleList

2005-07-12 Thread Beast
Just corious, is there any limit on how many rows can be put in SimpleList? Supose I have a program which parse big log file, how many lines of log file is still acceptable? -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http

Something to triger

2005-07-11 Thread Beast
', ); $window-add($slist); $window-show_all; #populate_list(); Gtk2-main; # sub populate_list { # do serach on ldap ... push @{$slist-{data}}, [ $name, $addrs, $ext ]; } -- --beast ___ gtk-perl-list mailing list gtk

Re: Mixed pixbuf and text

2005-07-01 Thread Beast
to finished so the user get the impression that program is fast? -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: Mixed pixbuf and text

2005-07-01 Thread Beast
. Thanks all. -- --beast ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Mixed pixbuf and text

2005-06-30 Thread Beast
Hello, Is there any way to add text next into pixbuf in SimpleList? Or if it's not possible any way to merge the column header so 2 column (pixbuf and text) has only 1 column header? -- --beast ___ gtk-perl-list mailing list gtk-perl-list