: [ ] . [ ] . [ ] . [ ]
--beast
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
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
and perl-Gtk2 installed.
--beast
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
example?
Many thanks.
--beast
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
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
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
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
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
-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
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
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
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
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
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
, 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
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
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
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
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
.
--
--beast
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
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
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
{
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
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
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
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
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
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
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
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
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
{ 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
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
}-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
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
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
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
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
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
--
--beast
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
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
',
);
$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
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
.
Thanks all.
--
--beast
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
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
45 matches
Mail list logo