GtkDrawingArea is a widget, so you just write the property width and height
in the builder.ui, done! 😀
On Tue, Feb 27, 2018 at 10:58 AM, Roger Matthews wrote:
> How do I set the size, or what are the x and y size of a
> GtkDrawingArea in builder.ui, I can't find these in the documentation
> any
How do I set the size, or what are the x and y size of a
GtkDrawingArea in builder.ui, I can't find these in the documentation anywhere,
thanks,
Roger Matthews
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mai
Solved.
Someone have a example of how to create a custom widget with cairo in C?
Thanks
Mensagem original
Assunto: Fwd: GtkDrawingArea size request
De: Rúben Rodrigues
Para: gtk-app-devel-list@gnome.org
CC:
Someone received my question?
Thanks
Mensagem
Hi Ruben,
You might consider allowing the gauge to expand with the window size. This
makes the gauge a lot more flexible. When drawing a gauge it is useful to get a
general coordinate drawing on screen that you can check your gauge drawing
with. Both cartesian coordinates and radial coordin
Hi,
I create a drawing area to draw a circular gauge with cairo.
GtkWidget *drawing_area = gtk_drawing_area_new ();
gtk_widget_set_size_request (drawing_area, 100, 100);
gtk_box_pack_start (GTK_BOX(gtk_builder_get_object(builder,
"box30")),drawing_area,FALSE,TRUE,0);
The problem is th
fill its parent.
On 06/21/17 10:11, Rúben Rodrigues wrote:
Someone received my question?
Thanks
Mensagem reencaminhada
Assunto:GtkDrawingArea size request
Data: Wed, 21 Jun 2017 10:08:15 +0100
De: Rúben Rodrigues <mailto:ruben...@live.com.pt>
Para: gtk
Someone received my question?
Thanks
Mensagem reencaminhada
Assunto:GtkDrawingArea size request
Data: Wed, 21 Jun 2017 10:08:15 +0100
De: Rúben Rodrigues <mailto:ruben...@live.com.pt>
Para: gtk-app-devel-list@gnome.org<mailto:gtk-app-devel-list@
Hey
if you use Gtk+-3.0 you can use
GtkWindow* window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_window_set_resizable(window, FALSE);
This should prevent the resizing and disables the grip.
--
Günther Wutz
Student der University of Applied Science
Allgemeine Informatik
Am Donnerstag, den 08.
On 03/08/2012 01:54 AM, Tadej Borovšak wrote:
> Hello.
>
> 2012/3/7 Christopher Howard :
>> Hello again. So, I recently started a project to create a certain board
>> game (in C) using gtk+, and I just started learning gtk+. I was planning
>> to draw the board graphics, pieces, etc. all into one G
Hello.
2012/3/7 Christopher Howard :
> Hello again. So, I recently started a project to create a certain board
> game (in C) using gtk+, and I just started learning gtk+. I was planning
> to draw the board graphics, pieces, etc. all into one GtkDrawingArea.
> So, how do I fix the size of the drawi
On Wed, 2012-03-07 at 09:44 -0900, Christopher Howard wrote:
X
>
> Bump.
>
> I'm trying to look through some other projects to see how this is done,
> but I would appreciate it if anyone happens to know of the top of their
> head.
I guess you can have a drawingarea of fixed size if you put it in
On 03/07/2012 11:37 AM, Bernhard Schuster wrote:
> If you did not yet start implementing it, goocanvas might be another
> option to the bare stuff. goocanvas allows you to set a fixed "paper"
> size.
>
>
I think the halign and valign properties are what I was looking for. It
seems that, if I do
If you did not yet start implementing it, goocanvas might be another
option to the bare stuff. goocanvas allows you to set a fixed "paper"
size.
Am 7. März 2012 19:44 schrieb Christopher Howard
:
> On 03/06/2012 02:08 PM, Christopher Howard wrote:
>> Hello again. So, I recently started a project
On 03/06/2012 02:08 PM, Christopher Howard wrote:
> Hello again. So, I recently started a project to create a certain board
> game (in C) using gtk+, and I just started learning gtk+. I was planning
> to draw the board graphics, pieces, etc. all into one GtkDrawingArea.
> So, how do I fix the size
Hello again. So, I recently started a project to create a certain board
game (in C) using gtk+, and I just started learning gtk+. I was planning
to draw the board graphics, pieces, etc. all into one GtkDrawingArea.
So, how do I fix the size of the drawing area so it doesn't get larger
or smaller th
15 matches
Mail list logo