On 04/27/13 02:35, Sandro Mani wrote:
> Hello,
>
> I have a GtkDrawingArea inside a GtkViewport, and I have a callback
> connected to the "size-allocate" signal of the GtkViewport which resizes
> the GtkDrawingArea by calling gtk_widget_set_size_request on the latter,
> see sample source code bel
On 04/02/13 18:36, HMRG software wrote:
>
> Hi all,
>
> Following is demo code for the 3.8 toplevel window resize bug I described
> in the previous message on this thread. If anyone sees any errors on my
> part, please let me know. I will otherwise file a bug report on this shortly.
I believe t
On 06/19/12 21:43, Rudra Banerjee wrote:
> Yeti, Thanks for your help. That is working now.
> I have one more problem.
> I need to take the data from the combo box. So after the combo box, I
> added the line:
> gchar *bibtype = gtk_combo_box_get_active_text(GTK_COMBO_BOX(widget));
> fprintf(stdo
I believe you might want to include a .desktop file (installing it in
e.g. /usr/share/applications/), and it should be used by all compatible
DE-s.
You can use whatever files you have there as examples, and the latest
specs should be these:
http://standards.freedesktop.org/desktop-entry-spec/late
Hi,
I'm guessing this is because you try to destroy the window while it's
still being used by GTK (to process signals, etc).
One solution could be to only hide it instead, and destroy it later on.
(For instance you could destroy it on a handler attached to unmap-event.)
-j
On 02/27/2012 10:45 AM
On 02/23/2012 02:49 PM, Gilles DOFFE wrote:
> Hello,
>
> Below a simple application with a GtkButton and a GtkEntry.
> Two callbacks associated to this widgets following this rules :
> 1) When I click on the GtkButton, it should display the GtkEntry pointer
> value.
> 2) When I focus on the GtkEn
Alright, I think I'm starting to see things a little better now - thank
you all.
I believe, in the case of GtkCalendar, there are no virtual public
methods, only static/private ones, and most of them use other such
methods as well as the private structure, which is why creating a widget
"ex
#x27;t the case unfortunately...
-j
On 12/17/2011 12:21 AM, Michael Torrie wrote:
On 12/16/2011 02:52 PM, jjacky wrote:
And while GTK is oriented-object, it is written in C and, AFAIK, there
are no such things as classes in C?
As always, read the docs. Here is the documentation describing how to
crea
Right, thanks. Alright so using "extend" might not have been the right
term (probably comes because I've done some PHP and have been influenced
by that), sorry.
Oh, and I've used the term "composite widget" simply because I read it
here, and assumed it was how such widgets were called:
http:/
Thanks. I will have a look into Vala, although for projects I have
planned, I really want/need to be using C.
And while GTK is oriented-object, it is written in C and, AFAIK, there
are no such things as classes in C?
I believe the way to create a widget based on/extending another one is
how I
10 matches
Mail list logo