On 07-07-2018 11:00, Eduardo M KALINOWSKI wrote:
> On 05-07-2018 11:02, Eduardo M KALINOWSKI wrote:
>> Consider the sample attached: it builds a tree model with an item that
>> has child items, and uses that model in a ComboBox.
>>
>> When compiled with Gtk2,
On 07-07-2018 11:00, Eduardo M KALINOWSKI wrote:
> On 05-07-2018 11:02, Eduardo M KALINOWSKI wrote:
>> Consider the sample attached: it builds a tree model with an item that
>> has child items, and uses that model in a ComboBox.
>>
>> When compiled with Gtk2,
On 05-07-2018 11:02, Eduardo M KALINOWSKI wrote:
> Consider the sample attached: it builds a tree model with an item that
> has child items, and uses that model in a ComboBox.
>
> When compiled with Gtk2, when the item with children is selected and
> its children displayed,
cted using the keyboard, but apparently with
the mouse. Is there a way to get the Gtk2 behaviour back with Gtk3?
Thanks,
--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.o
://library.gnome.org/devel/glib/stable/glib-Character-Set-Conversion.html#g-convert
--
It's reassuring to know that if you behave strangely enough, society will
take full responsibility for you.
Eduardo M KALINOWSKI
edua...@kalinowski.com.br
___
gtk-app-devel
unseeable. You
*can* see dragons. You just have to look in the right direction.
-- John Hasler
Eduardo M KALINOWSKI
edua...@kalinowski.com.br
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman
of the GtkAdjustment
before it starts to be resized and then, in a callback like you posted,
set the new value to display the desired part. But how can one obtain
the value before the resizing starts?
--
Culus Saens demonstrates no less than 3 tcp/ip bugs in 2.2.3
Eduardo M KALINOWSKI
edua
Eduardo M KALINOWSKI wrote:
I have a question concerning how to set which part of a GtkTextBuffer is
displayed when a GtkTextView is resized.
To explain the situation, consider this sample code:
8
/* gcc -o tvtest tvtest.c `pkg-config --libs --cflags gtk+-2.0` */
#include gtk/gtk.h
for that?
--
Money is truthful. If a man speaks of his honor, make him pay cash.
-- Lazarus Long
Eduardo M KALINOWSKI
edua...@kalinowski.com.br
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org
-get-widget-tree
--
No one can have a higher opinion of him than I have, and I think he's a
dirty little beast.
-- W. S. Gilbert
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel
Rui Tiago Cação Matos escreveu:
On 14/07/2008, Eric Masson @ Savant Protection
[EMAIL PROTECTED] wrote:
The problem was this:
You have several widgets inside of a container and you call
gtk_widget_set_sensitive with false to gray out the container + all
children. If you leave your mouse
, people kill people!!
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
jaafar EL GONNOUNI escreveu:
Hello;
What is *glib *adding that the GTK + compared to *Xlib *?
All what is possible with glib with Xlib is feasible, then why create a new
library.
glib is a library to easy programming with the C language. It contains
data structures, utility functions,
Carlyle
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Matías Alejandro Torres wrote:
Hi,
Can I call GTK Functions that modifies the GUI inside a callback?
Sure. What have you tried to do that did not work?
--
Many a wife thinks her husband is the world's greatest lover.
But she can never catch him at it.
Eduardo M KALINOWSKI
[EMAIL
M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
being deactivated.
Any pointers on where to hook into this?
Look at the focus_in_event and focus_out_event signals.
--
You'll always be,
What you always were,
Which has nothing to do with,
All to do, with her.
-- Company
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to
with
gtk_tree_path_compare(). (Or something similar.)
--
Inspired by a true story.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
:
http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html#gtk-file-chooser-add-filter
http://library.gnome.org/devel/gtk/unstable/gtk-gtkfilefilter.html#GtkFileFilter
--
The only time a dog gets complimented is when he doesn't do anything.
-- C. Schulz
Eduardo M KALINOWSKI
to
gtk_main() to do anything useful (in this case, displaying the window).
--
I must have slipped a disk -- my pack hurts!
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
.
Have you any solution that can help me ?
The proper way to destroy widgets is with gtk_widget_destroy(). That
should work.
--
I must have slipped a disk -- my pack hurts!
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app
://oriya.sarovar.org/docs/gettext/
http://www.gnu.org/software/gettext/manual/gettext.html
--
Is knowledge knowable? If not, how do we know that?
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list
On Dec 14, 2007 4:59 PM, Admin Software [EMAIL PROTECTED] wrote:
Hi,
i have read about timeout_add and timeout_add_full from glib. But if i
try to call these function from perl i've got error --- unknown ---.
Are there available from perl or are there equivalence functions?
It's
On Nov 16, 2007 1:58 PM, AlannY [EMAIL PROTECTED] wrote:
Hi.
I want to make my GtkTreeView and GtkTextView scrollable automaticaly.
How to do it?
It's lame question. I know.
Just add them inside a GtkScrolledWindow.
___
gtk-app-devel-list mailing
Also it's a bit painful to download each zipfile, extract it, and find
the dll I want in there. But I don't know what an easier way would be -
that's why I asked. Maybe I can write some kind of script to download,
extract and copy files based on a list. If that sounds like a good idea
to you,
manual, such as
http://www.gnu.org/software/libc/manual/html_node/index.html
I'll leave the looking for the exact function as an exercise to the student.
--
Marriage is a great institution -- but I'm not ready for an institution yet.
-- Mae West
Eduardo M KALINOWSKI
[EMAIL PROTECTED
is the best way to stop the thread ??
If, as you say, you have only one thread, then if you stop the only
thread, you're stopping the program. But the fact is that in this case
there's nothing to stop.
--
Any given program will expand to fill available memory.
Eduardo M KALINOWSKI
[EMAIL
exit_cb(GtkWidget *widget, GdkEvent *event,
gpointer data);
Oh, yes, Windows sucks.
--
It's God. No, not Richard Stallman, or Linus Torvalds, but God.
(By Matt Welsh)
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list
and manually adjusting the codes?)
--
Pascal Users:
To show respect for the 313th anniversary (tomorrow) of the
death of Blaise Pascal, your programs will be run at half speed.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
Gabriele Greco escreveu:
I've a few threads (more than one) doing some work (not accessing GTK
functions), I'd like to have a general way to make them notify their
work to the main loop.
I used the g_idle_add() in the previous context where I had only a
thread with this behaviour, but
On 6/14/07, Justin Stallard [EMAIL PROTECTED] wrote:
Hi,
I've looked through the tutorial, faq, API doc, and even google and I
can't seem to find out if there's some way to unbind all the
keybindings associated with a particular widgit. Is there?
What I want to have is this:
A GtkEntry
..
knghtbrd from carmack.brain import OpenGL
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
and a lie is that a
cat has
only nine lives.
-- Mark Twain, Pudd'nhead Wilson's Calendar
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo
; All you do is sit staring at a terminal until the drops
of blood form on your forehead.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk
Srivastava
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
changes by GTK.
You can, however, block the signal prior to calling the
gtk_notebook_set_current_page function, and unblock it afterwards.
--
You don't have to explain something you never said.
-- Calvin Coolidge
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
?
--
Rube Walker: Hey, Yogi, what time is it?
Yogi Berra: You mean now?
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel
GtkMessageDialog.
--
You never hesitate to tackle the most difficult problems.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app
that. And to get an iter at the
clicked position, use gtk_text_view_get_iter_at_position() or a similar
function.
--
This was the most unkindest cut of all.
-- William Shakespeare, Julius Caesar
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
want to confuse your users, a solution is not to use stock
itens. Or use the stock pixmap, the same text, but constructing the menu
manually.
--
... all the modern inconveniences ...
-- Mark Twain
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
of Strategy,
Ecole Superieure de Guerre
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
dreams.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
() or
gtk_text_view_get_iter_at_position(), with appropriate coordinates
(HINT: gtk_text_view_window_to_buffer_coordinates()) followed by
gtk_text_iter_get_line() might do the trick.
--
I'm not going to say, I told you so.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
of the tags.
--
pain, n.:
One thing, at least it proves that you're alive!
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app
your hedge.
-- Benjamin Franklin
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
calculations will provide the values for
green and blue.
BTW, using hexadecimal base this conversion gets simpler. Try for yourself.
--
Never trust anybody whose arm is bigger than your leg.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk
, and them implement it in your application.
--
You are a wish to be here wishing yourself.
-- Philip Whalen
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
a terminal emulator, the same one in
gnome-terminal, supporting VT100.
--
Pascal Users:
To show respect for the 313th anniversary (tomorrow) of the
death of Blaise Pascal, your programs will be run at half speed.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
to catch cursor movements
in a signal?
--
Q: What does it say on the bottom of Coke cans in North Dakota?
A: Open other end.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-perl-list mailing list
gtk-perl-list
never appears.
I'm using GTK+ version 2.8.9, glib version 2.8.4 and cairo 1.0.2.
--
Why are you so hard to ignore?
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
.
By the way, the same happens with a GtkEntry, it is not a problem with
the TextView.
Perhaps I need to declare something for MyWidget class to properly
handle such events?
--
Push where it gives and scratch where it itches.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
have'nt
discovered how to propagate keys unhandled by the TextView itself or by my
special handler to the user.
--
Eduardo M Kalinowski
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
, Jim.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
, or a directory
in the PATH.
--
In any formula, constants (especially those obtained from handbooks)
are to be treated as variables.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
by other factors).
Or, if for some reason you can't/don't want to use glib, use the Windows
function GetModuleFileName().
--
Buckle up!
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
and smoked my first cigarette on the same day.
I haven't had time for tobacco since.
-- Arturo Toscanini
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
in a TreeView (don't remember the name of
the function right now).
--
I used to be Snow White, but I drifted.
-- Mae West
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
Christian Neumair wrote:
Am Donnerstag, den 15.09.2005, 17:06 -0300 schrieb Eduardo M KALINOWSKI:
Right. Looking at it, the function pango_coverage_get() seems promising.
However, I'm unsure about the index_ argument. Would that be index of
that I want to check, according
a PangoFcFont *.
--
Character is what you are in the dark!
-- Lord John Whorfin
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo
Christian Neumair wrote:
Am Donnerstag, den 15.09.2005, 16:26 -0300 schrieb Eduardo M KALINOWSKI:
I want to check if the font I'm using (in a GtkTextView, if that
matters) contains some characters (specifically, the line-drawing
characters). How can I do that with Pango? The function
one user-supplied argument.
--
All this wheeling and dealing around, why, it isn't for money, it's for fun.
Money's just the way we keep score.
-- Henry Tyroon
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel
the screen, but I'm not completely sure. But try it.
--
Don't look now, but the man in the moon is laughing at you.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
the Gtkmm equivalent of
while (gtk_events_pending())
gtk_main_iteration();
when you want the display to be updated.
--
Whom the gods wish to destroy they first call promising.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app
Eduardo M KALINOWSKI wrote:
Hi,
I have a GtkTextView whose contents is all in one font, a monospaced
font by the way. I want to know the width of the GtkTextView in
characters, that is, how many characters fit in a line. I've tried a
code like this:
OK, I've found a code that does
not accounted for in that code) is something like 16 or 17 pixels.
--
A verbal contract isn't worth the paper it's written on. Include
me out. -Samuel Goldwyn
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk
of columns is smaller than the real value. For
example, with a width of 80 characters, the value returned is 71. How
can I do that?
--
Marriage, n.:
The evil aye.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list
We exist as a country because we're cheap.
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
muppet wrote:
On Mar 31, 2005, at 6:58 AM, Eduardo M KALINOWSKI wrote:
I'm doing something like this:
package KCWin;
eval {
Glib::Type-list_ancestors(__PACKAGE__);
# if we're alive here, the package is already registered.
} or Glib::Type-register_object('Gtk2::Window
71 matches
Mail list logo