Displaying 4 results from an estimated 4 matches for "get_metr".
Did you mean:
get_meta
2008 Aug 08
0
[ wxruby-Bugs-21491 ] Wx::STAY_ON_TOP and Wx::NO_BORDER messes with Sizer layouts.
...layouts.
Initial Comment:
I am making a full-screen app that I want to stay on top (to re-create something similiar to this app: http://hogbaysoftware.com/products/writeroom for a multi-platform use.) however, I am running into a strange issue.
If I use this:
def on_init
x = Wx::SystemSettings.get_metric(Wx::SYS_SCREEN_X)
y = Wx::SystemSettings.get_metric(Wx::SYS_SCREEN_Y)
@frame = Wx::Frame.new(nil, -1, APP_NAME, [0, 0], [x, y], Wx::NO_BORDER)
...
...my on-screen buttons are not spaced out in the sizer, but instead are one on top of the other. Any combination that contains either ST...
2007 Dec 10
3
Popup Window
Hey!
I would need a popup window like this (not necessarily associated to a
taskbaricon):
http://www.venraiker.com/wp-content/uploads/2006/03/libnotifyvx.png
I should be possible to show such a window for a certain time,
displaying a certain message.
Is a similar thing possible with wx? Are there oder options?
thx ck
--
Posted via http://www.ruby-forum.com/.
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...var = Wx::AUI_DOCKART_GRIPPER_COLOUR
+ else
+ return
+ end
+ @frame.get_dock_art.set_colour(var, dlg.get_colour_data.get_colour )
+ @frame.do_update
+ update_colours
+ end
+
+ private
+ def make_metric_spin_ctrl(an_id, caption, metric)
+ metric_val = @frame.get_dock_art.get_metric(metric)
+ sp = Wx::SpinCtrl.new( self, an_id, metric_val.to_s,
+ Wx::DEFAULT_POSITION,
+ Wx::Size.new(50, 20),
+ Wx::SP_ARROW_KEYS,
+ 0, 100, metric_val)
+
+ sz = Wx::BoxSizer.new(Wx:...
2007 May 05
0
[1012] trunk/wxruby2/doc/textile: Added docs for AUI Advanced User Interface classes
...nteger% id)
+
+Get the colour of a certain setting.
+
+_id_ can be one of the colour values of *AuiPaneDockArtSetting*.
+
+
+h3(#AuiDockArt_getfont). AuiDockArt#get_font
+
+ "Font":font.html *get_font*(%(arg-type)Integer% id)
+
+Get a font setting.
+
+h3(#AuiDockArt_getmetric). AuiDockArt#get_metric
+
+ Integer *get_metric*(%(arg-type)Integer% id)
+
+Get the value of a certain setting.
+
+_id_ can be one of the size values of *AuiPaneDockArtSetting*.
+
+
+h3(#AuiDockArt_setcolor). AuiDockArt#set_color
+
+ *set_color*(%(arg-type)Integer% id, %(arg-type)Colour% color)
+
+The same as "se...